Ты не должен был этого делать. Однако, если это действительно необходимо, вы можете проверить тип Mono.Runtime. Из Mono FAQ :
Type t = Type.GetType ("Mono.Runtime");
if (t != null)
Console.WriteLine ("You are running with the Mono VM");
else
Console.WriteLine ("You are running something else");