InstallLicense method of the SoftwareLicensingService class

Installs a license for the current product.

Syntax

uint32 InstallLicense(
  [in] string License
);

Parameters

License [in]

Specifies the license to install.

Requirements

Minimum supported client
Windows 7
Minimum supported server
Windows Server 2008 R2
Namespace
Root\CIMV2
MOF
SppWmi.mof
DLL
SppWmi.dll

See also

SoftwareLicensingService