Storage Client Library for Windows Phone (Version 7.0)

Microsoft Windows Azure Storage Blob

Initializes a new instance of the StorageCredentials class with the specified account name, key value, and key name.

Namespace:   Microsoft.WindowsAzure.Storage.Auth
Assembly:  Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Syntax

 
public StorageCredentials(
	string accountName,
	byte[] keyValue,
	string keyName
)
 
public:
StorageCredentials(
	String^ accountName,
	array<unsigned char>^ keyValue,
	String^ keyName
)
 
new : 
        accountName:string *
        keyValue:byte[] *
        keyName:string -> StorageCredentials
 
Public Sub New (
	accountName As String,
	keyValue As Byte(),
	keyName As String
)

Parameters

accountName
Type: System.StringSystem::String^System.StringSystem.String

A string that represents the name of the storage account.

keyValue
Type: System.Byte[]array<System::Byte>^System.Byte[]System.Byte()

An array of bytes that represent the account access key.

keyName
Type: System.StringSystem::String^System.StringSystem.String

A string that represents the name of the key.

Return to top