[Mono-list] Determine the name and/or kind of CLI runtime environment

Kornél Pál kornelpal at hotmail.com
Mon May 30 04:31:54 EDT 2005


Hi,

Is there any official or unofficial but working way to determine what kind
of CLI runtime environment is executing the assembly?

There are at least three of them:
-Microsoft .NET Framework
-Mono
-DotGNU Portable.NET

They have different interfaces to low level runtime functionality and it is
good if an error report contains the name of the CLI runtime as well.

What do you recommend on detecting Mono from managed code?

Kornél



More information about the Mono-list mailing list