IProtectionEngine.GetLicenseRightsDataAsync Method
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.
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.