|
FilePathTryGetReadLockExclusive Method
|
Attempts to get read access on a file.
Namespace: GSF.IOAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.296-beta+d85e3b6b23676c9fffb3231e358b4f94ad70793d
Syntaxpublic static bool TryGetReadLockExclusive(
string fileName
)
Public Shared Function TryGetReadLockExclusive (
fileName As String
) As Boolean
public:
static bool TryGetReadLockExclusive(
String^ fileName
)
static member TryGetReadLockExclusive :
fileName : string -> bool GSF.IO.FilePath.TryGetReadLockExclusive = function(fileName);
View SourceParameters
- fileName String
- The file to check for read access.
Return Value
BooleanTrue if read access is obtained; false otherwise.
See Also