XSHA1.BeginGetXSHA1 Method
From System.Net.FtpClient
Asynchronusly retrieve a SHA1 hash. The XSHA1 command is non-standard
and not guaranteed to work.
Namespace: System.Net.FtpClient.Extensions
Assembly: System.Net.FtpClient (in System.Net.FtpClient.dll) Version: 1.0.5064.17461
Syntax
| C# |
|---|
public static IAsyncResult BeginGetXSHA1( this FtpClient client, string path, AsyncCallback callback, Object state ) |
| Visual Basic |
|---|
<ExtensionAttribute> Public Shared Function BeginGetXSHA1 ( client As FtpClient, path As String, callback As AsyncCallback, state As Object ) As IAsyncResult |
| Visual C++ |
|---|
public: [ExtensionAttribute] static IAsyncResult^ BeginGetXSHA1( FtpClient^ client, String^ path, AsyncCallback^ callback, Object^ state ) |
Parameters
- client
- Type: System.Net.FtpClient..::..FtpClient
FtpClient Object
- path
- Type: System..::..String
Full or relative path to remote file
- callback
- Type: System..::..AsyncCallback
AsyncCallback
- state
- Type: System..::..Object
State Object
Return Value
Type: IAsyncResultIAsyncResult
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type FtpClient. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also