InstallProductKey method of the SoftwareLicensingService class
Not supported. Installs a product key for the current product.
Windows Vista and Windows Server 2008: Use the Windows 7 version of the InstallProductKey method.
Syntax
unit32 InstallProductKey(
[in] string ProductKey
);
Parameters
-
ProductKey [in]
-
Specifies the product key 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 |
|
DLL |
|