[Mono-winforms-list] How To Check Mono is installed or Not

user65 65rnov at gmail.com
Sun Jan 16 15:36:42 EST 2011

For those out there that are looking for the answer,

Please refer to the following link:

The sections on:
"How can I tell where the Mono runtime is installed (Windows OS)? "
"How can I detect if am running in Mono? "
using System;
class Program {
    static void Main ()
        Type t = Type.GetType ("Mono.Runtime");
        if (t != null)
             Console.WriteLine ("You are running with the Mono VM");
             Console.WriteLine ("You are running something else");

View this message in context: http://mono.1490590.n4.nabble.com/How-To-Check-Mono-is-installed-or-Not-tp3077796p3220380.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.

More information about the Mono-winforms-list mailing list