[Mono-dev] how to get the runtime environment?
kornelpal at gmail.com
Sat Feb 17 12:00:16 EST 2007
>> in runtime I need know if the framework is mono o microsoft. For example:
>> I run "mono myapp.exe" the app needs know that is running on mono and not
> You can use this :
> bool isMono = (Type.GetType("System.MonoType") != null) ? true : false;
> But maybe there is a better solution I don't know.
The above is quite good, if you need some more information you should check
these out as well:
More information about the Mono-devel-list