SLAPI Functions
The Software Licensing API (SLAPI) uses the following functions.
In this section
| Topic | Description |
|---|---|
|
Acquires a use license from the Software License Server (SLS). | |
|
Gets a XrML genuine ticket acquired from the Software Licensing Server (SLS). | |
|
Closes the Software Licensing Client (SLC) context handle. | |
|
Let an application to exercise rights on a locally-stored licenses. | |
|
Deposits licensing information previously collected and gathered using the SLGatherMigrationBlob function. | |
|
Deposits Installation ID (IID) and Confirmation ID (CID) for offline activation. | |
|
Deposits Installation ID (IID) and Confirmation ID (CID) for offline activation. | |
|
Sends a specified event to a registered listener. | |
|
Gathers licensing information for the provided file handle. This licensing information can later be applied or deposited using the SLDepositMigrationBlob function. | |
|
Generates the Installation ID (IID). | |
|
Generates Installation ID (IID). | |
|
Gets information about the specified application. | |
|
Queries a policy from the set stored with the SLPersistApplicationPolicies function and loaded using the SLLoadApplicationPolicies function. | |
|
Gets the authentication results. | |
|
Gets information about the genuine state of a Windows computer. | |
|
Specifies information about the genuine status of a Windows computer. | |
|
Specifies information about the genuine status of a Windows computer. | |
|
This function returns a list of product key IDs associated with the specified Product SKU ID. | |
|
Retrieves a list of applications that have Software Asset Management (SAM) licenses that were installed by using the SLInstallSAMLicense function. | |
|
Returns the license file BLOB. | |
|
Checks if the license BLOB has been installed already. | |
|
Gets the specified license information. | |
|
Gets the licensing status of the specified application or SKU. | |
|
Gets the registered product key ID associated with the product. | |
|
Gets the information of the specified product key. | |
|
Gets the policy information after right has been consumed successfully. | |
|
Gets the policy information after right has been consumed successfully. | |
|
Gets information about the specified product SKU. | |
|
Gets referral information for the specified product. | |
|
Retrieves information about an installed Software Asset Management (SAM) license. | |
|
Checks the server status according to the specified URL and RequestType. | |
|
Gets global data information. | |
|
Gets a list of SLIDs according to the input query ID type and the ID value. | |
|
Retrieves the value portion of a name-value pair from the licensing policy of a software component. | |
|
Retrieves the DWORD value portion of a name-value pair from the licensing policy of a software component. | |
|
Stores the specified license and returns a license file ID. | |
|
Registers the product key with SL. | |
|
Register the product key with SL. | |
|
Installs a Software Asset Management (SAM) license for the specified application. | |
|
Checks whether the specified application is a genuine Windows installation. | |
|
Checks whether the specified application installation is genuine. | |
|
Loads the application policies set with the SLPersistApplicationPolicies function for use by the SLGetApplicationPolicy function. | |
|
Initializes the Software Licensing Client (SLC) and connects SLC to the Software Licensing Service (SLS). | |
|
Stores the current consumed policies to disk for fast policy access. | |
|
Associates information with the specified product for both online and phone activation. | |
|
Gets the value for the specified component policy. | |
|
This function is rearm application activation. | |
|
Registers an event in the SL service. | |
|
Sets authentication data. | |
|
Sets the current product key to the previously installed product key. | |
|
Uninstalls the license specified by the license file ID and target user option. | |
|
Unregisters the product key information. | |
|
Uninstalls a Software Asset Management (SAM) license for the specified application. | |
|
Releases the policy context handle returned by the SLLoadApplicationPolicies function. | |
|
Unregisters a registered event in the SL service. |