FilePathTryGetReadLockExclusive Method

Attempts to get read access on a file.

Definition

Namespace: Gemstone.IO
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.169 -- Release Build+7345f63a8c9771f20dc280b192df2ccb62049660
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