C# Class BlobSync.Helpers.AzureHelper

Mostrar archivo Open project: kpfaulkner/BlobSync Class Usage Examples

Private Properties

Property Type Description
AzureHelper System
DoesBlobSignatureExist bool
GenerateUrl string
GetBlobNameFromFilePath string
GetBlobSize long
IsDevUrl bool

Public Methods

Method Description
DoesBlobExist ( string container, string blobName ) : bool
GetAccountNameFromUrl ( string blobUrl ) : string
GetCloudBlobClient ( ) : Microsoft.WindowsAzure.Storage.Blob.CloudBlobClient
GetSignatureBlobName ( string containerName, string blobName ) : string
SetBlobMD5 ( string containerName, string blobName, string md5 ) : void
SetSignatureName ( string containerName, string blobName ) : string

Private Methods

Method Description
AzureHelper ( ) : System
DoesBlobSignatureExist ( string container, string blobName ) : bool
GenerateUrl ( string containerName, string blobName ) : string
GetBlobNameFromFilePath ( string localFilePath ) : string
GetBlobSize ( string containerName, string blobName ) : long
IsDevUrl ( ) : bool

Method Details

DoesBlobExist() public static method

public static DoesBlobExist ( string container, string blobName ) : bool
container string
blobName string
return bool

GetAccountNameFromUrl() public static method

public static GetAccountNameFromUrl ( string blobUrl ) : string
blobUrl string
return string

GetCloudBlobClient() public static method

public static GetCloudBlobClient ( ) : Microsoft.WindowsAzure.Storage.Blob.CloudBlobClient
return Microsoft.WindowsAzure.Storage.Blob.CloudBlobClient

GetSignatureBlobName() public static method

public static GetSignatureBlobName ( string containerName, string blobName ) : string
containerName string
blobName string
return string

SetBlobMD5() public static method

public static SetBlobMD5 ( string containerName, string blobName, string md5 ) : void
containerName string
blobName string
md5 string
return void

SetSignatureName() public static method

public static SetSignatureName ( string containerName, string blobName ) : string
containerName string
blobName string
return string