File Classes

Which file class(es) can I use that will allow me to read and write to a file while setting a file lock on it during this process

I need to first read the file for some information and then completely replace the content of the file with new conent maintaining the lock on the file during the entire process.

 

Thanks

Mark Baird



Answer this question

File Classes

  • Allard Martinet

    Have a look at the System.IO namespace and various StreamReders cllasses...


  • File Classes