是否有 VB6 或 VBScript 代码可以检测是否在 VMware 或虚拟机上运行?
以下链接显示了其他编程语言的代码。 VB6 或 VBScript 有办法吗?
Detect virtualized OS from an application?
How to detect if my application is running in a virtual machine?
最佳答案
Vmware有this article关于不同的方法:
Virtual BIOS DMI information The VMware virtual BIOS has many VMware-specific identifiers which programs can use to detect hypervisors. For the DMI string check, use the BIOS serial number and check for either string "VMware-" or "VMW" (for Mac OS X guests running on Fusion).
这是访问 BIOS 序列号的脚本:
http://www.vbforums.com/showthread.php?572678-RESOLVED-Getting-CPU-ID-and-BIOS-ID
关于vbscript - VB6 或 VBScript 代码来检测是否在 VMware 或虚拟机上运行?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39051575/