Not sure how you are reading the file, if you are using FileStream, you can use FileShare mode something like below.
FileStream fs = new FileStream("your file name", FileMode.Open, FileAccess.Read, System.IO.FileShare.Read)
Thanks
Regards,
Sheo Narayan, Microsoft MVP
The Founder
http://www.dotnetfunda.com
Kirubakaranb.Tech, if this helps please login to Mark As Answer. |
Reply | Alert Moderator