Viewing and editing file and directory attributes in ASP.NET
The System.IO.FileAttributes class gives us access to file/directory attributes. In this article, we'll see how to use this class to first read the current attributes and then change them.
Published: Dec 2, 2002 | Last Edited: Aug 20, 2005
Tested with: ASP.NET 1.1
Category: ASP.NET
5,966 views
Introduction
The System.IO.FileAttributes class gives us access to file/directory attributes. In this article, we'll see how to use this class to first read the current attributes and then change them.
The System.IO.FileAttributes class
The class has numerous members that can be accessed. These members, which are really file or directory properties, fall under the Mscorlib Assembly (in Mscorlib.dll), and should be the same for Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, and the Windows .NET Server family.

| Hits: | 54 | Last Updated: | 2006-07-20 |
VIEW ALL
ASP.NET Tutorials