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 and key value.

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

Syntax

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

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.

Return to top