Viewing and editing file and directory attributes in ASP.NET February 9, 2011|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.