Partager via


LicenseSourceId(Int64, Boolean) Constructor

Definition

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.

Applies to