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)
Sheo Narayan, Microsoft MVP
Kirubakaranb.Tech, if this helps please login to Mark As Answer. |
Reply | Alert Moderator