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.256-beta+0e7e94d39a9b10efe7e26e3b8d5130afc0dd4d74
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