Show / Hide Table of Contents

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 Source

IsValidDownload(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

true if the specified downloaded local file is validated successfully against the source BLOB; otherwise, false.

View Source

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

true if the specified uploaded destination BLOB is validated successfully against the local file; otherwise, false.

  • View Source
In This Article
Back to top Copyright © DNV AS. All rights reserved.