I would like to know if it is possible to find the edition of Windows using C# and then checking it as simple text. For example :
check windows edition
check if it is "professional", "home", "enterprise" etc
My current code is
using (RegistryKey key = Registry.LocalMachine.OpenSubKey("HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\EditionID"))
{
}
I just don't know what to do next.
Thank you!