Auf Englisch lesen

Freigeben über


LockCheck Class

Definition

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 static class LockCheck
Inheritance
LockCheck

Methods

GetLockedFileMessage(String)

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.

Applies to