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

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-2024 ASPAlliance.com  |  Page Processed at 2024-04-18 5:28:29 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search