Click here to Skip to main content
11,414,561 members (68,816 online)
Click here to Skip to main content
Add your own
alternative version

Detect if your program is running inside a Virtual Machine

, 4 Apr 2005 CPOL
An article showing how you can programmatically check if your code is running inside a virtual machine (such as VPC or VMWare).
vmdetect_files.zip
Source
Common
CSharpTest
App.ico
CSharpTest.csproj.user
VBTest
VBTest.vbproj.user
VCTest
res
VmDetect.ico
vmware.ico
vpc.ico
VmDetect.clw
VmDetect.dsp
VmDetect.dsw
VmDetectLibrary
app.ico
Binaries
CSharpTest.exe
VBTest.exe
VmDetect.exe
VmDetectLibrary.dll

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Elias Bachaalany
Web Developer
United States United States
Elias (aka lallousx86, @0xeb) has always been interested in the making of things and their inner workings.

His computer interests include system programming, reverse engineering, writing libraries, tutorials and articles.

In his free time, and apart from researching, his favorite reading topics include: dreams, metaphysics, philosophy, psychology and any other human/mystical science.

Former employee of Hex-Rays (the creators of IDA Pro), was responsible about many debugger plugins, IDAPython project ownership and what not.

Elias currently works at Microsoft as a software security engineer.

More articles and blog posts can be found here:

- http://lallousx86.wordpress.com/
- http://0xeb.wordpress.com/
- http://www.hexblog.com/?author=3

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150427.4 | Last Updated 5 Apr 2005
Article Copyright 2005 by Elias Bachaalany
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid