Interface IFileTransferValidator
Represents a file transfer validator, for both upload and download scenarios.
Namespace: DNVGL.One.Compute.StorageLibrary.Azure.FileTransfer
Assembly: DNVGL.One.Compute.StorageLibrary.Azure.dll
Syntax
public interface IFileTransferValidator
Methods
View SourceIsValidDownload(String, CloudBlockBlob)
Determines whether the specified downloaded local file is validated successfully against the source BLOB.
Declaration
bool IsValidDownload(string destPath, CloudBlockBlob sourceBlob)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | destPath | The local file destination path. |
| CloudBlockBlob | sourceBlob | The source cloud BLOB. |
Returns
| Type | Description |
|---|---|
| System.Boolean |
|
IsValidUpload(CloudBlockBlob, String)
Determines whether the specified uploaded destination BLOB is validated successfully against the local file.
Declaration
bool IsValidUpload(CloudBlockBlob destBlob, string sourcePath)
Parameters
| Type | Name | Description |
|---|---|---|
| CloudBlockBlob | destBlob | The destination cloud BLOB. |
| System.String | sourcePath | The local file source path. |
Returns
| Type | Description |
|---|---|
| System.Boolean |
|