Assembly: WindowsBase (in windowsbase.dll)
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.
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.