PlayReadyHeader Constructors
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.
Overloads
PlayReadyHeader() |
Obsolete.
Obsolete. Use PlayReadyHeader(PlayReadyHeaderType) instead. Initializes a new instance of the PlayReadyHeader class with Regular. |
PlayReadyHeader(PlayReadyHeaderType) |
Initializes a new instance of the PlayReadyHeader class. |
PlayReadyHeader(String) |
Initializes a new instance of the PlayReadyHeader class. |
PlayReadyHeader()
Caution
Use PlayReadyHeader(PlayReadyHeaderType type) instead.
Obsolete. Use PlayReadyHeader(PlayReadyHeaderType) instead. Initializes a new instance of the PlayReadyHeader class with Regular.
[System.Obsolete("Use PlayReadyHeader(PlayReadyHeaderType type) instead.")]
public PlayReadyHeader ();
Public Sub New ()
- Attributes
Applies to
PlayReadyHeader(PlayReadyHeaderType)
Initializes a new instance of the PlayReadyHeader class.
public PlayReadyHeader (Microsoft.Media.Drm.PlayReadyHeaderType headerType);
new Microsoft.Media.Drm.PlayReadyHeader : Microsoft.Media.Drm.PlayReadyHeaderType -> Microsoft.Media.Drm.PlayReadyHeader
Public Sub New (headerType As PlayReadyHeaderType)
Parameters
- headerType
- PlayReadyHeaderType
The PlayReadyHeaderType of the header.
Exceptions
Thrown if the headerType
is invalid.
Applies to
PlayReadyHeader(String)
Initializes a new instance of the PlayReadyHeader class.
public PlayReadyHeader (string versionString);
new Microsoft.Media.Drm.PlayReadyHeader : string -> Microsoft.Media.Drm.PlayReadyHeader
Public Sub New (versionString As String)
Parameters
- versionString
- String
The version of the header, e.g. "4.2.0.0".
Exceptions
Thrown if the versionString
cannot be parsed or the version is less than 4.0.0.0.