[Mono-list] Re: Determine the name and/or kind of CLI runtime
robertj at gmx.net
Mon May 30 05:28:49 EDT 2005
> There are at least three of them:
> -Microsoft .NET Framework
> -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?
(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.
More information about the Mono-list