Is there any easy way to get Windows Edition (Home, Professional, etc.)?
Easy answer? Just look in the registry.
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProductName
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\CSDVersion
It doesn't have the overhead of WMI (50ms every call), and it gives the full name.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With