IProtectionEngine.GetLicenseRightsDataAsync Method

Definition

Get license rights data from publishing license.

public System.Threading.Tasks.Task<Microsoft.InformationProtection.Protection.LicenseRightsData> GetLicenseRightsDataAsync (Microsoft.InformationProtection.Protection.PublishingLicenseInfo licenseInfo, Microsoft.InformationProtection.Protection.ProtectionCommonSettings settings = default);
abstract member GetLicenseRightsDataAsync : Microsoft.InformationProtection.Protection.PublishingLicenseInfo * Microsoft.InformationProtection.Protection.ProtectionCommonSettings -> System.Threading.Tasks.Task<Microsoft.InformationProtection.Protection.LicenseRightsData>
Public Function GetLicenseRightsDataAsync (licenseInfo As PublishingLicenseInfo, Optional settings As ProtectionCommonSettings = Nothing) As Task(Of LicenseRightsData)

Parameters

licenseInfo
PublishingLicenseInfo

Publishing license from the protected content.

settings
ProtectionCommonSettings

Common settings for protection

Returns

A task that represents the asynchronous create operation. The value of the TResult parameter contains license rights data.

Applies to