This is an old revision of the document!

Session.TryGetFileInfo Method

Retrieves information about remote file.

This feature is available only in the latest beta release.

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.

Last modified: by martin