Attributes of Directory ??
-
How to check Attributes of any Directory like ReadOnly Property??
Truth Is The Simplest !!!!
-
How to check Attributes of any Directory like ReadOnly Property??
Truth Is The Simplest !!!!
Create an instance of DirectoryInfo class and check Attributes property.
#region signature my articles #endregion
-
How to check Attributes of any Directory like ReadOnly Property??
Truth Is The Simplest !!!!
-
FileAttributes fa = File.GetAttributes(@"c:\test.txt"); if(fa == FileAttributes.ReadOnly) { //... do something here... }
Thankxxxx but i am searching for Directory Attributes Readonly?? that means How to know Directory is writeprotected or Not??
Truth Is The Simplest !!!!
-
Thankxxxx but i am searching for Directory Attributes Readonly?? that means How to know Directory is writeprotected or Not??
Truth Is The Simplest !!!!