Session.TryGetFileInfo Method
Retrieves information about remote file.
Syntax
C#
public bool TryGetFileInfo(string path, out RemoteFileInfo fileInfo)
VB.NET
Public Function TryGetFileInfo(path As String, ByRef fileInfo as RemoteFileInfo) As Boolean
Parameters
| Name | Description |
|---|---|
| string path | Full path to remote file. |
| RemoteFileInfo fileInfo | The retrieved file information |
Return Value
true if file information was successfully retrieved, false otherwise.
Remarks
For an alternative interface, see Session.GetFileInfo.