Elastacloud.AzureManagement.Fluent.Clients.BlobClient.GetAccountKey C# (CSharp) Метод

GetAccountKey() публичный Метод

Gets the blob account key
public GetAccountKey ( ) : string
Результат string
        public string GetAccountKey()
        {
            var getStorageAccountKeysCommand = new GetStorageAccountKeysCommand(AccountName)
            {
                SubscriptionId = SubscriptionId,
                Certificate = ManagementCertificate
            };
            getStorageAccountKeysCommand.Execute();
            return (AccountKey = getStorageAccountKeysCommand.PrimaryStorageKey);
        }