Click or drag to resize

FileIsLocked Method (String)

[AlphaFS] Determines whether the specified file is in use (locked).

Namespace:  Alphaleonis.Win32.Filesystem
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax
public static bool IsLocked(
	string path
)

Parameters

path
Type: SystemString
The file to check.

Return Value

Type: Boolean
Returns if the specified file is in use (locked); otherwise,
Exceptions
ExceptionCondition
IOException
Exception
See Also