[This topic is part of the Microsoft Azure Storage Client Library 1.7, which has been deprecated. See
Storage Client Library for the latest version.]
Initializes a new instance of the
Credentials class.
Namespace: Microsoft.WindowsAzure.StorageClient.Protocol
Assembly: Microsoft.WindowsAzure.StorageClient (in Microsoft.WindowsAzure.StorageClient.dll)
Usage
| Visual Basic |
|---|
Dim accountName As String
Dim base64EncodedKey As String
Dim instance As New Credentials(accountName, base64EncodedKey) |
Syntax
| Visual Basic |
|---|
Public Sub New ( _
accountName As String, _
base64EncodedKey As String _
) |
| C# |
|---|
public Credentials (
string accountName,
string base64EncodedKey
) |
| C++ |
|---|
public:
Credentials (
String^ accountName,
String^ base64EncodedKey
) |
Parameters
- accountName
Type: System.String
The storage account name.
- base64EncodedKey
Type: System.String
The access key, as a Base64-encoded string.
Remarks
Platforms
See Also