FilePathTryGetWriteLock Method

Attempts to get write access on a file.

Definition

Namespace: Gemstone.IO
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.178 -- Release Build+f8a23028fef00502c7e35bcc3934c260e8a0eb56
public static bool TryGetWriteLock(
	string fileName
)

Parameters

fileName  String
The file to check for write access.

Return Value

Boolean
True if write access is obtained; false otherwise.

See Also