|
FilePathTryGetReadLock Method
|
Attempts to get read access on a file.
Namespace: GSF.IOAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.283-beta+c965646d479a9eab83d024dda466bc5a7b4c1300
Syntaxpublic static bool TryGetReadLock(
string fileName
)
Public Shared Function TryGetReadLock (
fileName As String
) As Boolean
public:
static bool TryGetReadLock(
String^ fileName
)
static member TryGetReadLock :
fileName : string -> bool GSF.IO.FilePath.TryGetReadLock = 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