2025-11-28 00:35:46 +09:00

1.1 KiB

page_type, languages, products, name, urlFragment, description, extendedZipContent
page_type languages products name urlFragment description extendedZipContent
sample
cpp
windows-api-win32
Consumption sample consumption-sample Demonstrates consumption.
path target
LICENSE LICENSE

Consumption

This sample demonstrates consumption. It acquires the appropriate licenses and certificates, initializes the environment, signs the publishing license offline, encrypts content, and then decrypts it. See the comments at the beginning of wmain() for a more detailed description.

Usage

The usage of this sample is as follows:

 Consumption -U UserID -M ManifestFile [-A ActivationSvr] [-L LicensingSvr]
    -U: specifies the UserID.
      example: user@yourdomain.com
    -M: specifies the manifest file to use.
      example: manifest.xml
    -A: specifies the Activation Server. (optional)
      example: http://localhost/_wmcs/certification
    -L: specifies the Licensing Server. (optional)
      example: http://localhost/_wmcs/licensing

Note: The userID specified should be the user's primary SMTP proxy address.