Blob Class

Definition

Represents binary data that can be associated with a person's health record.

public class Blob
Inheritance
Blob

Properties

ContentEncoding

Gets the content encoding of the BLOB.

ContentLength

Gets the length of the content of the BLOB.

ContentType

Gets the content type of the BLOB.

HashInfo

Gets the hash information for the BLOB.

IsDirty

Gets or sets if the Blob instance has been modified.

Name

Gets the name of the BLOB.

Url

Gets a URL that can be used to read or write the Blob data directly using HTTP GET and PUT.

Methods

GetReaderStream()

Gets a stream for reading data from a HealthVault BLOB.

GetWriterStream()

Gets a stream for writing data to a HealthVault BLOB.

ReadAllBytes()

Gets all the bytes of the BLOB.

ReadAsString(Encoding)

Fetches the BLOB as a string with the specified encoding.

ReadAsString()

Fetches the BLOB as a UTF-8 string.

SaveToFile(String)

Saves the BLOB data to the specified file.

SaveToFile(String, FileMode)

Saves the BLOB data to the specified file.

SaveToStream(Stream)

Saves the BLOB data to the specified file.

Write(Stream)

Writes the bytes from the specified stream.

WriteInline(Byte[])

Writes the specified bytes to the blob inline with the data XML of the type.

WriteInline(String)

Writes the specified string to the blob with UTF-8 encoding.

WriteInline(String, Encoding)

Writes the specified string to the blob with the specified encoding.