PlayReadyHeader.FromString(String) 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.
Parses the XML string representation of a header into a PlayReadyHeader.
public static Microsoft.Media.Drm.PlayReadyHeader FromString (string xmlHeader);
static member FromString : string -> Microsoft.Media.Drm.PlayReadyHeader
Public Shared Function FromString (xmlHeader As String) As PlayReadyHeader
Parameters
- xmlHeader
- String
The full xml representation of of the header.
Returns
A PlayReadyHeader parsed from the xml.
Exceptions
The xmlHeader
is null.
The xmlHeader
has length zero.
The xmlHeader
is an invalid header.