Working with Directories and Files in .NET
page 4 of 6
by Joydip Kanjilal
Feedback
Average Rating: 
Views (Total / Last 10 Days): 27977/ 71

Points to remember

The most important point that one should keep in mind when working with files and directories in .NET is the necessary permissions that are required for the user. It should be noted that the static methods of the File and the Directory classes require a security check for them to operate; this hampers the performance a bit. I would recommend using the FileInfo and the DirectoryInfo classes over the File and the DirectoryInfo classes if you have a lot of operations to perform on the files and the directories in your file system.


View Entire Article

User Comments

No comments posted yet.






Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2021 ASPAlliance.com  |  Page Processed at 2021-11-26 10:51:15 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search