An object-oriented programming language developed by Microsoft that can be used in .NET.
Hi @Cynolycus ,
Please try set the FileShare.Read when you open the file.
If your application allows users to make data modifications, be sure to save changes regularly and release access to the file promptly so that other applications can open the file read-only after it is released.
Best Regards.
Jiachen Li
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.