Upload My Experience and Learning
07 June 2014
Set File Readonly in C#.Net
Call this Code for Set File ReadOnly Mode using C#.Net:
public void SetReadOnly(string fileName)
{
FileInfo fi = new FileInfo(fileName);
fi.IsReadOnly = true;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment