Click or drag to resize

FilePathTryGetWriteLock Method

Attempts to get write access on a file.

Namespace: GSF.IO
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.249-beta+56964f8aed6f3f2e54faec1539f7ce0ba6548fdf
Syntax
public static bool TryGetWriteLock(
	string fileName
)
View Source

Parameters

fileName  String
The file to check for write access.

Return Value

Boolean
True if write access is obtained; false otherwise.
See Also