LockCheck Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This class implements checking what processes are locking a file on Windows. It uses the Restart Manager API to do this. Other platforms are skipped. Use the method GetLockedFileMessage(String) to get a message to inform the user which processes have a lock on a given file.
public ref class LockCheck abstract sealed
public static class LockCheck
type LockCheck = class
Public Class LockCheck
- Inheritance
-
LockCheck
Get |
Try to get a message to inform the user which processes have a lock on a given file. On Windows it uses the Restart Manager API. |