Поделиться через


NDLicenseFetchDescriptor Класс

Определение

Извлекает и задает свойства, используемые для получения лицензии PlayReady-ND.

public ref class NDLicenseFetchDescriptor sealed : INDLicenseFetchDescriptor
/// [Windows.Foundation.Metadata.Activatable(Windows.Media.Protection.PlayReady.INDLicenseFetchDescriptorFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
class NDLicenseFetchDescriptor final : INDLicenseFetchDescriptor
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Media.Protection.PlayReady.INDLicenseFetchDescriptorFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class NDLicenseFetchDescriptor final : INDLicenseFetchDescriptor
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Media.Protection.PlayReady.INDLicenseFetchDescriptorFactory, 65536, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.Deprecated("NDLicenseFetchDescriptor is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
class NDLicenseFetchDescriptor final : INDLicenseFetchDescriptor
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Media.Protection.PlayReady.INDLicenseFetchDescriptorFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public sealed class NDLicenseFetchDescriptor : INDLicenseFetchDescriptor
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Media.Protection.PlayReady.INDLicenseFetchDescriptorFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class NDLicenseFetchDescriptor : INDLicenseFetchDescriptor
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Media.Protection.PlayReady.INDLicenseFetchDescriptorFactory), 65536, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.Deprecated("NDLicenseFetchDescriptor is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
public sealed class NDLicenseFetchDescriptor : INDLicenseFetchDescriptor
function NDLicenseFetchDescriptor(contentIDType, contentIDBytes, licenseFetchChallengeCustomData)
Public NotInheritable Class NDLicenseFetchDescriptor
Implements INDLicenseFetchDescriptor
Наследование
Object Platform::Object IInspectable NDLicenseFetchDescriptor
Атрибуты
Реализации

Требования к Windows

Семейство устройств
Windows 10 (появилось в 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (появилось в v1.0)

Конструкторы

NDLicenseFetchDescriptor(NDContentIDType, Byte[], INDCustomData)

Создает новый экземпляр класса NDLicenseFetchDescriptor .

Свойства

ContentID

Возвращает идентификатор содержимого.

ContentIDType

Возвращает тип идентификатора содержимого.

LicenseFetchChallengeCustomData

Возвращает или задает пользовательские данные для запроса на получение лицензии.

Применяется к

См. также раздел