This depends on the virtualization technology in question: http://www.meetup.com/CocoaHeads-Stockholm/messages/boards/thread/26497882 -and- http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1009458 ...the assumptions of which can each be their own moving targets (pardon the off-topic, but generically relevant, Windows reference): http://stackoverflow.com/questions/1370586/detect-if-windows-is-running-from-within-parallels Is there a more specific reason/goal, which might yield a more reliable and lasting testing method than trying to deduce a vm environment, generally? Thanks, -Matt On Mar 2, 2013, at 11:58 AM, Jean Suisse wrote:
> I don't have the answer to your question, but here is a thought: > Virtual machines, such as VMWare, present some generic hardware to the OS > they run. Could you detect the available hardware, check the vendor, and then > decide wether or not you are running in a virtual environment ? > > Jean > > ----------- > Jean Suisse > Institut de Chimie Moléculaire de l’Université de Bourgogne > (ICMUB) — UMR 6302 > > > On 2 mars 2013, at 17:17, Kjell Nilsson <kj...@oops.se> wrote: > >> Hi >> >> I am wondering if it is possible to detect if my Cocoa Application is >> running in a virtual machine like VMWare, VirtualBox or Parallells Desktop >> from inside my app. >> >> Kind regards >> --kerusan >> >> >> >> _______________________________________________ >> >> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) >> >> Please do not post admin requests or moderator comments to the list. >> Contact the moderators at cocoa-dev-admins(at)lists.apple.com >> >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/cocoa-dev/jean.lists%40gmail.com >> >> This email sent to jean.li...@gmail.com > > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/cocoa-dev/mkozak%40camden.rutgers.edu > > This email sent to mko...@camden.rutgers.edu _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com