Ftp.CalculateLocalChecksumAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Ftp.dll (version 7.0.9147)
CalculateLocalChecksumAsync(FtpChecksumType, String, Object)
Begins asynchronous CalculateLocalChecksum operation.
Calculates the checksum for the specified local file.
This method will be deprecated. Please use Get
Declaration
public static Task<string> CalculateLocalChecksumAsync(FtpChecksumType type, string localPath, object state = null)
Parameters
Type | Name | Description |
---|---|---|
Ftp |
type | Desired checksum type. |
String | localPath | Path of the local file. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
CalculateLocalChecksumAsync(FtpChecksumType, String, Int32, Int64, Object)
Begins asynchronous CalculateLocalChecksum operation.
Calculates the checksum for the specified local file.
This method will be deprecated. Please use Get
Declaration
public static Task<string> CalculateLocalChecksumAsync(FtpChecksumType type, string localPath, int localOffset, long length, object state = null)
Parameters
Type | Name | Description |
---|---|---|
Ftp |
type | Desired checksum type. |
String | localPath | Path of the local file. |
Int32 | localOffset | The offset in the local file where reading will start. |
Int64 | length | The maximum number of bytes to read. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
CalculateLocalChecksumAsync(FtpChecksumType, Stream, Object)
Begins asynchronous CalculateLocalChecksum operation.
Calculates the checksum of the data in specified stream.
This method will be deprecated. Please use Get
Declaration
public static Task<string> CalculateLocalChecksumAsync(FtpChecksumType type, Stream sourceStream, object state = null)
Parameters
Type | Name | Description |
---|---|---|
Ftp |
type | Desired checksum type. |
Stream | sourceStream | The source data stream. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
CalculateLocalChecksumAsync(FtpChecksumType, Stream, Int64, Object)
Begins asynchronous CalculateLocalChecksum operation.
Calculates the checksum of the data in specified stream.
This method will be deprecated. Please use Get
Declaration
public static Task<string> CalculateLocalChecksumAsync(FtpChecksumType type, Stream sourceStream, long length, object state = null)
Parameters
Type | Name | Description |
---|---|---|
Ftp |
type | Desired checksum type. |
Stream | sourceStream | The source data stream. |
Int64 | length | The maximum number of bytes to read. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |