IProtectionEngine.RegisterContentForTrackingAndRevocationAsync Method

Definition

Overloads

RegisterContentForTrackingAndRevocationAsync(PublishingLicenseInfo, String, Boolean)

Register publishing license (PL) for document tracking and revocation.

RegisterContentForTrackingAndRevocationAsync(PublishingLicenseInfo, String, Boolean, ProtectionCommonSettings)

Register publishing license (PL) for document tracking and revocation.

RegisterContentForTrackingAndRevocationAsync(PublishingLicenseInfo, String, Boolean)

Register publishing license (PL) for document tracking and revocation.

public System.Threading.Tasks.Task RegisterContentForTrackingAndRevocationAsync (Microsoft.InformationProtection.Protection.PublishingLicenseInfo licenseInfo, string contentName, bool isOwnerNotificationEnabled);
abstract member RegisterContentForTrackingAndRevocationAsync : Microsoft.InformationProtection.Protection.PublishingLicenseInfo * string * bool -> System.Threading.Tasks.Task
Public Function RegisterContentForTrackingAndRevocationAsync (licenseInfo As PublishingLicenseInfo, contentName As String, isOwnerNotificationEnabled As Boolean) As Task

Parameters

licenseInfo
PublishingLicenseInfo

Publishing license from the protected content.

contentName
String

The name to associate with the content specified by the serializedPublishingLicense. If the serializedPublishingLicense specifies a content name, that value will take precedence.

isOwnerNotificationEnabled
Boolean

Set to true to notify the owner via email whenever the document is decrypted, or false to not send the notification.

Returns

A task that represents the asynchronous create operation.

Applies to

RegisterContentForTrackingAndRevocationAsync(PublishingLicenseInfo, String, Boolean, ProtectionCommonSettings)

Register publishing license (PL) for document tracking and revocation.

public System.Threading.Tasks.Task RegisterContentForTrackingAndRevocationAsync (Microsoft.InformationProtection.Protection.PublishingLicenseInfo licenseInfo, string contentName, bool isOwnerNotificationEnabled, Microsoft.InformationProtection.Protection.ProtectionCommonSettings settings = default);
abstract member RegisterContentForTrackingAndRevocationAsync : Microsoft.InformationProtection.Protection.PublishingLicenseInfo * string * bool * Microsoft.InformationProtection.Protection.ProtectionCommonSettings -> System.Threading.Tasks.Task
Public Function RegisterContentForTrackingAndRevocationAsync (licenseInfo As PublishingLicenseInfo, contentName As String, isOwnerNotificationEnabled As Boolean, Optional settings As ProtectionCommonSettings = Nothing) As Task

Parameters

licenseInfo
PublishingLicenseInfo

Publishing license from the protected content.

contentName
String

The name to associate with the content specified by the serializedPublishingLicense. If the serializedPublishingLicense specifies a content name, that value will take precedence.

isOwnerNotificationEnabled
Boolean

Set to true to notify the owner via email whenever the document is decrypted, or false to not send the notification.

settings
ProtectionCommonSettings

Common settings for protection

Returns

A task that represents the asynchronous create operation.

Applies to