RightsManagementInformation.SavePublishLicense(PublishLicense) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om