Tag: C# registry

How To Determine Windows Edition

Sometimes you might want to check for which Windows “edition” is installed on a computer. Let’s say you’ve made an app that you want to be free for personal use, but want to force enterprises to pay a licensing fee if they want to use it in their environment.

A quick and dirty registry key check performed in the startup sequence of your application can be enough to find whether the Windows “edition” installed is Home Basic, Home Premium, Ultimate or Enterprise. Continue reading