Export (0) Print
Expand All

UnsignedPublishLicense Class

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

System.Object
  System.Security.RightsManagement.UnsignedPublishLicense

Namespace:  System.Security.RightsManagement
Assembly:  WindowsBase (in WindowsBase.dll)
XMLNS for XAML: Not mapped to an xmlns.

type UnsignedPublishLicense =  class end
This type is not typically used in XAML.

The UnsignedPublishLicense type exposes the following members.

  NameDescription
Public methodUnsignedPublishLicense()Initializes a new instance of the UnsignedPublishLicense class.
Public methodUnsignedPublishLicense(String)Initializes a new instance of the UnsignedPublishLicense class from a specified XrML publish-license template. 
Top

  NameDescription
Public propertyContentIdGets or sets the publisher-created content identifier.
Public propertyGrantsGets a collection of assigned user rights.
Public propertyLocalizedNameDescriptionDictionaryGets a collection of name and description pairs.
Public propertyOwnerGets or sets the content owner.
Public propertyReferralInfoNameGets or sets the contact name for the author or publisher of the content.
Public propertyReferralInfoUriGets or sets the contact URI for the author or publisher of the content.
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSignCreates a signed PublishLicense and returns a UseLicense for the document author.
Public methodToStringReturns a serialized template created from the XrML of the UnsignedPublishLicense. (Overrides Object.ToString().)
Top

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.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft