<PackageReference Include="Microsoft.Azure.Storage.Blob" Version="11.1.2" />

Microsoft.Azure.Storage.Blob.Protocol.BlobHttpResponseParsers

public static class BlobHttpResponseParsers
Provides a set of methods for parsing a response containing blob data from the Blob service.

Extracts a CopyState object from the headers of a web response.

public static bool GetDeletionStatus(string deletedHeader)

Determines if a blob has been deleted.

public static bool GetIncrementalCopyStatus(string incrementalCopyHeader)

Determines if a blob in an incremental copy.

Extracts the lease duration from a web response.

public static string GetLeaseId(HttpResponseMessage response)

Extracts the lease ID header from a web response.

Extracts the lease state from a web response.

Extracts the lease status from a web response.

public static IDictionary<string, string> GetMetadata(HttpResponseMessage response)

Gets the user-defined metadata.

Gets the blob's properties from the response.

public static int? GetRemainingLeaseTime(HttpResponseMessage response)

Extracts the remaining lease time from a web response.

public static bool GetServerEncrypted(string encryptionHeader)

Determines if a blob is listed as server-side encypted.

public static string GetSnapshotTime(HttpResponseMessage response)

Gets the snapshot timestamp from the response.

public static AccountProperties ReadAccountProperties(HttpResponseMessage response)

Reads account properties from an HttpResponseMessage object.

public static Task<ServiceProperties> ReadServicePropertiesAsync(Stream inputStream, CancellationToken token)

Reads service properties from a stream.

public static Task<ServiceStats> ReadServiceStatsAsync(Stream inputStream, CancellationToken token)

Reads service stats from a stream.