There is plenty of information throughout the net on how to detect Windows license type and distribution channel using PID (that can be found in `HKLM\SYSTEM\Setup\Pid` registry key) and ProductID (that can be found in `HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion`).

However, there is quite little information on how to detect what kind of licensing is used to install other Microsoft products.

Namely, what i need to determine is which ones were installed using MSDN subscription license, and which were installed using other license types.

I've managed to find some info on Office flavors by analyzing product GUID (found in `Uninstall` registry branch):

* [Office 2000](http://support.microsoft.com/kb/230848)
* [Office XP](http://support.microsoft.com/kb/302663)
* [Office 2003](http://support.microsoft.com/kb/832672)
* [Office 2007](http://support.microsoft.com/kb/928516)
* [Office 2010](http://support.microsoft.com/kb/2186281)

However, all those articles only distinguish between these release types:

* 0 Volume license
* 1 Retail/OEM
* 2 Trial
* 5 Download

Furthermore, i could not locate any feasible information about other products.
Namely, Visual Studio... (which is the one i am interested in the most).

To clarify: I do **not** need to obtain a **license key** (which i already found several ways of detecting while seeking for the information i need), my interest is solely in detecting what kind of **license type** was used to install the application.