UseLicense Class
Represents a license that enables access to protected rights managed content.
Assembly: WindowsBase (in WindowsBase.dll)
| Name | Description | |
|---|---|---|
![]() | UseLicense(String^) | Initializes a new instance of the UseLicense class. |
| Name | Description | |
|---|---|---|
![]() | ApplicationData | Gets the application data dictionary that contains key/value pairs passed from the publishing application to the consuming application. |
![]() | ContentId | Gets the content identifier created by the publisher. |
![]() | Owner | Gets the owner of the license. |
| Name | Description | |
|---|---|---|
![]() | Bind(SecureEnvironment^) | Binds the license to a given SecureEnvironment. |
![]() | Equals(Object^) | Indicates if this license is equivalent to another given license.(Overrides Object::Equals(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() | Returns the hash code associated with this license.(Overrides Object::GetHashCode().) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns the serialized XrML string used to create this license.(Overrides Object::ToString().) |
As with other System.Security.RightsManagement types, UseLicense is only usable in full trust applications.
The following example shows how to use this class to initialize a PublishLicense.
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.


