[Mono-list] Re: Determine the name and/or kind of CLI runtimeenvironment

Kornél Pál kornelpal at hotmail.com
Mon May 30 08:15:13 EDT 2005


> isMono =
>   (int)Environment.OSVersion.Platform == 128 ||  // Fw 1.1
>   (int)Environment.OSVersion.Platform == 4;      // Fw 2.0
>
> I don't know how DotGNU can be detected.

Thanks, but this not what I want to detect. This detects the Operating
System.
But I want to detect the type of CLI (.NET Framework/Mono/Portable.NET)

Kornél



More information about the Mono-list mailing list