edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing

ExFTPConnectionBeginGetLocalCRC Method

Begins an asynchronous request to get the CRC of a local file.

Definition

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
public virtual IAsyncResult BeginGetLocalCRC(
	string localFile,
	long offset,
	int length,
	AsyncCallback callback,
	Object state
)

Parameters

localFile  String
Name of local file.
offset  Int64
Location in the file at which to start calculating the CRC (default is 0).
length  Int32
Number of bytes from the offset location to calculate the CRC for (default is -1 which means to end of file).
callback  AsyncCallback
The AsyncCallback delegate.
state  Object
An object that contains state information for this request.

Return Value

IAsyncResult
An FTPTask that references the asynchronous get.

Remarks

You can create a callback method that implements the AsyncCallback delegate and pass its name to the BeginGetLocalCRC method. The state argument may be used to pass in data that will be passed to the callback method.

For more information please refer to the synchronous version of this method, GetLocalCrc(String, Int64, Int32).

See Also