Uredi

Deli z drugimi prek


RightsManagementInformation.SavePublishLicense(PublishLicense) Method

Definition

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

public:
 void SavePublishLicense(System::Security::RightsManagement::PublishLicense ^ publishLicense);
public void SavePublishLicense (System.Security.RightsManagement.PublishLicense publishLicense);
member this.SavePublishLicense : System.Security.RightsManagement.PublishLicense -> unit
Public Sub SavePublishLicense (publishLicense As PublishLicense)

Parameters

publishLicense
PublishLicense

The publish license to store and embed in the package.

Exceptions

The publishLicense parameter is null.

The rights management information in this package cannot be read by the current version of this class.

Remarks

Each EncryptedPackageEnvelope can contain only one PublishLicense. Each call to SavePublishLicense will overwrite any prior PublishLicense contained in the EncryptedPackageEnvelope.

Applies to

See also