.Net

CSHARP FILE

Does anyone know how to check if a file is already open? Open the file with ReadWrite file access. Catch the IOException. If there’s no exception, it’s not already open. If there’s an exception, it’s Read more…

By hadi, ago