Share via


InstallLicense method of the SoftwareLicensingService class

Not supported. Use the InstallLicense method.

Windows Vista and Windows Server 2008: 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 Vista
Minimum supported server
Windows Server 2008
End of client support
Windows Vista
End of server support
Windows Server 2008
Namespace
Root\CIMV2
MOF
SLWmi.mof
DLL
SLWmi.dll

See also

SoftwareLicensingService

InstallLicense