SystemInfo.WinProductKey
------------------------

Returns the product key of the Windows installation.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [SystemInfo](component_SystemInfo.md) | [2.8](newinversion28.md) | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |

MBS( "SystemInfo.WinProductKey" ) ### Parameters

none

### Result

Returns product key or empty string.

### Description

Returns the product key of the Windows installation.  
### See also

- [SystemInfo.MacProductName](SystemInfoMacProductName.md)
- [SystemInfo.WinProductType](SystemInfoWinProductType.md)

### Example Databases

- [Utility functions/Generate and Verify License Key](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Utility%20functions/Generate%20and%20Verify%20License%20Key.shtml#3ScriptAnchor_)

This function is free to use.

Created 18th August 2014 , last changed 28th January 2023

  
[SystemInfo.WinPlatformId](SystemInfoWinPlatformId.md) - [SystemInfo.WinProductType](SystemInfoWinProductType.md)

[HTML Version](SystemInfoWinProductKey.shtml)