UtilLicensingProductKey Property
Gets the Windows product key of the current operating system.
Note that the value could be
in case of the product key was
completely removed from the Windows Registry (eg. using tools like
slmgr.vbs /cpky).
Namespace: DevCase.Core.Windows.LicensingAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static string ProductKey { get; }
Public Shared ReadOnly Property ProductKey As String
Get
Dim value As String
value = UtilLicensing.ProductKey
public:
static property String^ ProductKey {
String^ get ();
}
static member ProductKey : string with get
No code example is currently available or this language may not be supported.
Property Value
String
The Windows product key, or
in case of the product key was
completely removed from the Windows Registry (eg. using tools like
slmgr.vbs /cpky).
This is a code example.
No code example is currently available or this language may not be supported.
Dim productKey As String = ProductKey()
Console.WriteLine(productKey)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.