We have deployed some winform application to a fileserver.
The exe files are copied to the fileserver and many clients execute them directly from the fileserver via a shortcut.
Our problem is when we try to release new versions, we have to find
every client that is executing the apps, tell them to close and only then we can release the new version.
Is there a way to receive the list of clients using a certain file, in the same way
I can receive it when managing open files via MMC?
We tried many ways, including Netapi32.dll, WMI etc.
I thought maybe there is a simple way to determine if a file is locked and receive the client that are locking the file.
Thanks in advance,