h1.post-title { color:orange; font-family:verdana,Arial; font-weight:bold; padding-bottom:5px; text-shadow:#64665b 0px 1px 1px; font-size:32px; } -->

Pages

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;
}