Is there an official way for an application to determine if it is running in VMWare or Virtual PC (or whatever Microsoft is calling it now)? The code I have seen i
dmidecode -s system-product-name
Tested on VirtualBox, result:
Virtualbox