UseLicense Class

 

Represents a license that enables access to protected rights managed content.

Namespace:   System.Security.RightsManagement
Assembly:  WindowsBase (in WindowsBase.dll)

System.Object
  System.Security.RightsManagement.UseLicense

[<SecurityCriticalAttribute(SecurityCriticalScope.Everything)>]
type UseLicense = class end

NameDescription
System_CAPS_pubmethodUseLicense(String)

Initializes a new instance of the UseLicense class.

NameDescription
System_CAPS_pubpropertyApplicationData

Gets the application data dictionary that contains key/value pairs passed from the publishing application to the consuming application.

System_CAPS_pubpropertyContentId

Gets the content identifier created by the publisher.

System_CAPS_pubpropertyOwner

Gets the owner of the license.

NameDescription
System_CAPS_pubmethodBind(SecureEnvironment)

Binds the license to a given SecureEnvironment.

System_CAPS_pubmethodEquals(Object)

Indicates if this license is equivalent to another given license.(Overrides Object.Equals(Object).)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Returns the hash code associated with this license.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

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.

No code example is currently available or this language may not be supported.

.NET Framework
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.

Return to top
Show: