LicenseSourceId(Int64, Boolean) Constructor
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.
Initializes a new instance of the LicenseSourceId class.
public LicenseSourceId (long identifier, bool restricted);
new Microsoft.Media.Drm.LicenseSourceId : int64 * bool -> Microsoft.Media.Drm.LicenseSourceId
Public Sub New (identifier As Long, restricted As Boolean)
Parameters
- identifier
- Int64
The identifier of the source from which the PlayReady content originated.
- restricted
- Boolean
Indicates whether the source from which the PlayReady Content originated is restricted or not.
Exceptions
Thrown if identifier
is zero and restricted
is true.
Remarks
The valid values for identifier
are listed in the PlayReady Compliance Rules document that accompanies a PlayReady licensing agreement.