ComponentSpace FTP Class Library Reference

FtpClient.EndGetRemoteStatus Method 

Completes the specified asynchronous get remote status operation.

[Visual Basic]
Public Function EndGetRemoteStatus( _
   ByVal asyncResult As IAsyncResult _
) As String
[C#]
public string EndGetRemoteStatus(
   IAsyncResult asyncResult
);

Parameters

asyncResult
The IAsyncResult that identifies the asynchronous get remote status to finish, and from which to retrieve an end result.

Return Value

The remote system's OS information

Remarks

When the GetRemoteStatusCompleted event is raised, EndGetRemoteStatus completes the operation that was initiated by the BeginGetRemoteStatus call.

Exceptions

Exception Type Condition
FtpException Thrown when the get remote status fails.

See Also

FtpClient Class | ComponentSpace.Ftp Namespace