An alternative to UBB.threads
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

26 lines
521 B

using System;
namespace MySql.Web.Security
{
internal static class Runtime
{
private static bool inited;
private static bool isMono;
public static bool IsMono
{
get
{
if (!inited)
Init();
return isMono;
}
}
private static void Init()
{
Type t = Type.GetType("Mono.Runtime");
isMono = t != null;
}
}
}