FilePathTryGetReadLock Method

Attempts to get read access on a file.

Definition

Namespace: Gemstone.IO
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.147 -- Release Build+759c9d29b79c81f10905de8f58b653be932045f0
public static bool TryGetReadLock(
	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