Click or drag to resize

FilePathTryGetReadLock Method

Attempts to get read access on a file.

Namespace: GSF.IO
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
Syntax
public static bool TryGetReadLock(
	string fileName
)
View Source

Parameters

fileName  String
The file to check for read access.

Return Value

Boolean
True if read access is obtained; false otherwise.
See Also