XSHA256.BeginGetXSHA256 Method

System.Net.FtpClient

Collapse image Expand Image Copy image CopyHover image
Asynchronusly retrieve a SHA256 hash. The XSHA256 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 BeginGetXSHA256(
	this FtpClient client,
	string path,
	AsyncCallback callback,
	Object state
)
Visual Basic
<ExtensionAttribute> 
Public Shared Function BeginGetXSHA256 ( 
	client As FtpClient,
	path As String,
	callback As AsyncCallback,
	state As Object
) As IAsyncResult
Visual C++
public:
[ExtensionAttribute]
static IAsyncResult^ BeginGetXSHA256(
	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: IAsyncResult
IAsyncResult

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