Click or drag to resize

FileGetProcessForFileLock Method (String, PathFormat)

[AlphaFS] Gets a list of processes that have a lock on the files specified by filePath.

 

Return Value

Type: CollectionProcess

Returns null when no processes found that are locking the file specified by filePath.

Returns a list of processes locking the file specified by filePath.

Namespace:  Alphaleonis.Win32.Filesystem
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax
public static Collection<Process> GetProcessForFileLock(
	string filePath,
	PathFormat pathFormat
)

Parameters

filePath
Type: SystemString
The path to the file.
pathFormat
Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).

Return Value

Type: CollectionProcess

[Missing <returns> documentation for "M:Alphaleonis.Win32.Filesystem.File.GetProcessForFileLock(System.String,Alphaleonis.Win32.Filesystem.PathFormat)"]

Exceptions
See Also