Thursday, February 4, 2010

Hto dynamically set IsReadonly property of the File to false

string download_filename = (Server.MapPath("aatish.txt"));

System.IO.FileInfo fileInfo = new System.IO.FileInfo(download_filename);

fileInfo.IsReadOnly = false;

No comments:

Post a Comment