ProtectionDescriptor Class
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.
Represents ad-hoc protection associated with protected content
public class ProtectionDescriptor
type ProtectionDescriptor = class
Public Class ProtectionDescriptor
- Inheritance
-
ProtectionDescriptor
Constructors
ProtectionDescriptor(LicenseType, List<String>, List<UserRights>) |
Constructor for ProtectionDescriptor for Adhoc with license type |
ProtectionDescriptor(LicenseType, List<String>) | |
ProtectionDescriptor(List<Byte>) |
Constructor for ProtectionDescriptor for Template |
ProtectionDescriptor(List<UserRights>) |
Constructor for ProtectionDescriptor for Adhoc |
ProtectionDescriptor(List<UserRoles>) |
Constructor for ProtectionDescriptor for Adhoc |
ProtectionDescriptor(String) |
Constructor for ProtectionDescriptor for Template |
Properties
AllowOfflineAccess |
Whether or not protection allows offline content access (default = true) |
ContentId |
Gets the content id Publishing licenses will have this identifier surrounded by curly braces "{}". Those braces are removed from the value returned here |
ContentValidUntil |
Protection expiration time |
Description |
The protection description |
DoubleKeyUrl |
The double key url |
EncryptedAppData |
App-specific data that was encrypted |
LabelId |
Gets the Label id, if any This property will only be populated in ProtectionDescriptors for preexisting protected content. i.e. It is a field populated by the server at the moment protected content is consumed. |
LabelInformation |
Gets the Label info, if any This property will only be populated in ProtectionDescriptors for preexisting protected content. i.e. It is a field populated by the server at the moment protected content is consumed. |
LicenseType |
The license type if this instance was created with it |
Name |
The protection name |
Owner |
The owner of protection |
ProtectionType |
The protection type |
Referrer |
Protection referrer address |
SerializedTemplate |
Gets the serialized template, if any |
SignedAppData |
App-specific data that was signed |
TemplateId |
The RMS template id for template protection, license id for adhoc protection, if any |
UserRights |
Collection of users-to-rights mappings |
UserRoles |
Collection of users-to-roles mappings |