Click or drag to resize

FilePathWaitForWriteLock(String, Double) Method

Waits for write access on a file for the specified number of seconds.

Namespace: GSF.IO
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.232-beta+203aa83a5a82d50f387e69875549969ad138d6e0
Syntax
public static void WaitForWriteLock(
	string fileName,
	double secondsToWait
)
View Source

Parameters

fileName  String
The name of the file to wait for to obtain write access.
secondsToWait  Double
The time to wait for in seconds to obtain write access on a file. Set to zero to wait infinitely.
See Also