次の方法で共有


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 ref class LockCheck abstract sealed
public static class LockCheck
type LockCheck = class
Public 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