PublishLicense Class
Represents a signed rights managed publish license.
Assembly: WindowsBase (in WindowsBase.dll)
| Name | Description | |
|---|---|---|
![]() | PublishLicense(String^) | Initializes a new instance of the PublishLicense class from a specified serialized and signed PublishLicense. |
| Name | Description | |
|---|---|---|
![]() | ContentId | Gets the publisher-created content identifier. |
![]() | ReferralInfoName | Gets the contact name for the author or publisher of the content. |
![]() | ReferralInfoUri | Gets the contact URI for the author or publisher of the content. |
![]() | UseLicenseAcquisitionUrl | Gets the URI to use for acquiring a UseLicense. |
| Name | Description | |
|---|---|---|
![]() | AcquireUseLicense(SecureEnvironment^) | Attempts to acquire a UseLicense for a user or user group in a specified SecureEnvironment. |
![]() | AcquireUseLicenseNoUI(SecureEnvironment^) | Attempts to acquire a UseLicense for a user or user group in a specified SecureEnvironment. |
![]() | DecryptUnsignedPublishLicense(CryptoProvider^) | Returns a decrypted UnsignedPublishLicense version of this signed PublishLicense. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns the serialized XrML string that was used to create this license.(Overrides Object::ToString().) |
PublishLicense defines security data about rights, users, and other security-related information. The license defines how a specific user on a specific computer can use specified rights managed content.
The publishing process begins with the document author, who defines rights information in an UnsignedPublishLicense. Next, the author creates a signed PublishLicense by calling the Sign method of the UnsignedPublishLicense. The serialized form of the signed PublishLicense can then be provided to end users who can use it to acquire a UseLicense by calling the AcquireUseLicense method of the PublishLicense. The returned UseLicense then allows the client application to exercise the rights that were granted to the user.
As with other System.Security.RightsManagement types, PublishLicense is only usable in full trust applications.
Available since 3.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


