Environment.OSVersion.Platform==(PlatformID)128)// some older versions of Mono reported 128.
{
returnnewX11Platform();
}
else
{
// return an object which implements the base methods, using "safe" .net fallback routines.
returnnewPlatformSpecific();
//throw new PlatformNotSupportedException("The platform on which you are trying to run this program is not currently supported. Sorry for the inconvenience.");