RunsOnVirtualMachine

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  

This command gives a feedback, if the application is started on a Virtual Machine.

 

 

 

 

Name

RunsOnVirtualMachine                                                                    

Purpose

This command allows to find out, if the application is running on a virtual machine.

Params

None

Returncode

Returncode

Type Integer

Note

0

no virtual machine

1

application runs on VMware

2

application runs on Virtual PC

Usage

Allows to implement a different program logic for virtual machines, e.g. don't allow to start the application or use regular online checks

Sample

 

  iRes := lic.RunsOnVirtualMachine;

  if iRes <> 0 then

  << Virtual Machine>>

  ...

  end

See also


 

 

See also
 
Virtual Machine
 

 

Page url: http://www.helpserver.biz/onlinehelp/lp/easygo/2.7/help2000/index.html?runsonvirtualmachine.htm