RightsManagementInformation Class

RightsManagementInformation Class

 

Represents Digital Rights Management (DRM) information that is stored in an EncryptedPackageEnvelope.

Namespace:   System.IO.Packaging
Assembly:  WindowsBase (in WindowsBase.dll)

System::Object
  System.IO.Packaging::RightsManagementInformation

public ref class RightsManagementInformation 

NameDescription
System_CAPS_pubpropertyCryptoProvider

Gets or sets the CryptoProvider for accessing the package's encrypted rights management data stream.

NameDescription
System_CAPS_pubmethodDeleteUseLicense(ContentUser^)

Deletes the UseLicense for a specified user from the encrypted rights management data stream.

System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from 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_pubmethodGetEmbeddedUseLicenses()

Returns a dictionary collection of user and UseLicense key/value pairs from the encrypted rights management data stream.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

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

System_CAPS_pubmethodLoadPublishLicense()

Returns the embedded PublishLicense from the encrypted rights management data stream.

System_CAPS_pubmethodLoadUseLicense(ContentUser^)

Returns a specified user's embedded UseLicense from the encrypted rights management data stream.

System_CAPS_protmethodMemberwiseClone()

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

System_CAPS_pubmethodSavePublishLicense(PublishLicense^)

Saves a given PublishLicense to the encrypted rights management data stream.

System_CAPS_pubmethodSaveUseLicense(ContentUser^, UseLicense^)

Saves a given UseLicense for a specified user to the encrypted rights management data stream.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

RightsManagementInformation provides access to the PublishLicense and UseLicense data stored in a rights managed protected Package.

The following example shows how to initialize a RightsManagementInformation object for encryption.

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

The following example shows how to initialize a RightsManagementInformation object for decryption.

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:
© 2016 Microsoft