Credentials Constructor (String, Byte[])
From Storage Client Library NET API
[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.
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 key As Byte() Dim instance As New Credentials(accountName, key) |
Syntax
| Visual Basic |
|---|
Public Sub New ( _ accountName As String, _ key As Byte() _ ) |
| C# |
|---|
public Credentials ( string accountName, byte[] key ) |
| C++ |
|---|
public: Credentials ( String^ accountName, array<unsigned char>^ key ) |
| J# |
|---|
| JScript |
|---|
Parameters
- accountName
Type: System.String
The storage account name.
- key
The access key.
Remarks
For more details about this API, see the topics on the equivalent REST APIs in See Also > Other Resources.