RestartManagerGetLockingProcesses Method (String, Boolean) |
Gets a list of processes locking a specific file.
Namespace:
callback.ShellBoost.Core.Utilities
Assembly:
callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax public IReadOnlyList<Process> GetLockingProcesses(
string filePath,
bool onlyRestartable = false
)
Parameters
- filePath
- Type: SystemString
The file path. - onlyRestartable (Optional)
- Type: SystemBoolean
if set to true list only restartable processes.
Return Value
Type:
IReadOnlyListProcessA list of processes.
Exceptions See Also