Is there a way to detect if an application is running from within a virtual machine, like one set up with VMWare? Preferably in both Windows and Linux.