Retrieves a FileSystemItem containing the information about the specified remote file or directory.
Namespace:
Rebex.Net
Assembly:
Rebex.Networking (in Rebex.Networking.dll)
Syntax
Visual Basic |
---|
Function GetInfo ( _ remotePath As String, _ failIfNotFound As Boolean _ ) As FileSystemItem |
C# |
---|
FileSystemItem GetInfo( string remotePath, bool failIfNotFound ) |
Parameters
- remotePath
- Type: System..::..String
The path of the remote file or directory.
- failIfNotFound
- Type: System..::..Boolean
Specifies whether to throw an exception if file not found.
Return Value
Information about the remote file or directory.Remarks
Returns null if no file is found and failIfNotFound argument is set to false.