Share via


PlayReadyObject.ToByteArray Method

Definition

Converts a this object to its byte representation in little-endian byte order.

public byte[] ToByteArray ();
member this.ToByteArray : unit -> byte[]
Public Function ToByteArray () As Byte()

Returns

Byte[]

The byte array represenation of this object.

Exceptions

Thrown if a EmbeddedLicenseStore was added but it neither includes licenses nor includes space for licenses to be added later.

Thrown if the length of any PlayReadyObject is larger than MaxValue.

Applies to