PlayReadyObject.ToByteArray Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.