FilePathTryGetReadLockExclusive Method

Attempts to get read access on a file.

Definition

Namespace: Gemstone.IO
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.155 -- Release Build+a7d8ba87ff92af3282fc68a6fbfd37a854100b44
public static bool TryGetReadLockExclusive(
	string fileName
)

Parameters

fileName  String
The file to check for read access.

Return Value

Boolean
True if read access is obtained; false otherwise.

See Also