Свойство | Type | Description | |
---|---|---|---|
PrepareRequest |
Méthode | Description | |
---|---|---|
CheckStorageAccountExists ( int timeoutInSeconds ) : bool |
Checks to see whether a storage account exists based on checking every second the operation will either return a 502 if the DNS cannot resolve or a 400 if it can
|
|
Execute ( ) : void |
Abstract method used to execute the any command againt blob storage
|
Méthode | Description | |
---|---|---|
BlobCommand ( ) : System | ||
CreateAuthorizationHeader ( String canResource, string options = "", int contentLength ) : string | ||
GetPackageFileBytesAndLength ( string fileName, int &contentLength ) : byte[] |
Finds out the length and returns a byte array of the files
|
|
SendWebRequest ( string url, string authHeader, byte fileBytes = null, int contentLength ) : void |
Méthode | Description | |
---|---|---|
PrepareRequest ( string url, string authHeader, byte fileBytes = null, int contentLength ) : |
Preprares the request for sending and using blob storage
|
public CheckStorageAccountExists ( int timeoutInSeconds ) : bool | ||
timeoutInSeconds | int | The timeout in seconds to stop the checking |
Résultat | bool |
protected CreateAuthorizationHeader ( String canResource, string options = "", int contentLength ) : string | ||
canResource | String | |
options | string | |
contentLength | int | |
Résultat | string |
protected GetPackageFileBytesAndLength ( string fileName, int &contentLength ) : byte[] | ||
fileName | string | The filename being used to retrieve the bytes and length |
contentLength | int | The length of the file in bytes |
Résultat | byte[] |
protected SendWebRequest ( string url, string authHeader, byte fileBytes = null, int contentLength ) : void | ||
url | string | |
authHeader | string | |
fileBytes | byte | |
contentLength | int | |
Résultat | void |