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

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-2023  |  Page Processed at 2023-10-01 11:48:57 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search