Click or drag to resize

FileGetProcessForFileLock Method (CollectionString, PathFormat)

[AlphaFS] Gets a list of processes that have a lock on the file(s) specified by filePaths.

 

Return Value

Type: CollectionProcess

Returns null when no processes found that are locking the file(s) specified by filePaths.

Returns a list of processes locking the file(s) specified by filePaths.

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

Parameters

filePaths
Type: System.Collections.ObjectModelCollectionString
A list with one or more file paths.
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.Collections.ObjectModel.Collection{System.String},Alphaleonis.Win32.Filesystem.PathFormat)"]

Exceptions
See Also