Click or drag to resize

FilePathWaitForReadLock(String, Double) Method

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

Namespace: GSF.IO
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.250-beta+e1aac152bf9c38c67035c6d283461f222e39e02a
Syntax
public static void WaitForReadLock(
	string fileName,
	double secondsToWait
)
View Source

Parameters

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