UnsignedPublishLicense UnsignedPublishLicense UnsignedPublishLicense UnsignedPublishLicense Class

Definition

Represents an unsigned rights managed PublishLicense or an unsigned PublishLicense template.

public ref class UnsignedPublishLicense
[System.Security.SecurityCritical(System.Security.SecurityCriticalScope.Everything)]
public class UnsignedPublishLicense
type UnsignedPublishLicense = class
Public Class UnsignedPublishLicense
Inheritance
UnsignedPublishLicenseUnsignedPublishLicenseUnsignedPublishLicenseUnsignedPublishLicense
Attributes

Remarks

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 authoring application calls the UnsignedPublishLicense.Sign method to create a signed PublishLicense. The signed PublishLicense can then be provided to the end-user client application which can call AcquireUseLicense to request an end-user UseLicense. The returned UseLicense then allows the client application to exercise the rights that are granted to the user.

The document author can use the UnsignedPublishLicense class either to create a signed PublishLicense, or to build and serialize a PublishLicense template.

As with other System.Security.RightsManagement types, UnsignedPublishLicense is only usable in full trust applications.

XAML Text Usage

This type is not typically used in XAML.

Constructors

UnsignedPublishLicense() UnsignedPublishLicense() UnsignedPublishLicense() UnsignedPublishLicense()

Initializes a new instance of the UnsignedPublishLicense class.

UnsignedPublishLicense(String) UnsignedPublishLicense(String) UnsignedPublishLicense(String) UnsignedPublishLicense(String)

Initializes a new instance of the UnsignedPublishLicense class from a specified XrML publish-license template.

Properties

ContentId ContentId ContentId ContentId

Gets or sets the publisher-created content identifier.

Grants Grants Grants Grants

Gets a collection of assigned user rights.

LocalizedNameDescriptionDictionary LocalizedNameDescriptionDictionary LocalizedNameDescriptionDictionary LocalizedNameDescriptionDictionary

Gets a collection of name and description pairs.

Owner Owner Owner Owner

Gets or sets the content owner.

ReferralInfoName ReferralInfoName ReferralInfoName ReferralInfoName

Gets or sets the contact name for the author or publisher of the content.

ReferralInfoUri ReferralInfoUri ReferralInfoUri ReferralInfoUri

Gets or sets the contact URI for the author or publisher of the content.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Sign(SecureEnvironment, UseLicense) Sign(SecureEnvironment, UseLicense) Sign(SecureEnvironment, UseLicense) Sign(SecureEnvironment, UseLicense)

Creates a signed PublishLicense and returns a UseLicense for the document author.

ToString() ToString() ToString() ToString()

Returns a serialized template created from the XrML of the UnsignedPublishLicense.

Applies to