Ashish Goyal wrote: > Hello, How can I find that The Mono I am running on the system is 32-bit or > 64-bit?
using System;
using System.Runtime.InteropServices;
class Test
{
static void Main ()
{
Console.WriteLine (Is64bit);
}
static bool Is64bit {
get { return Marshal.SizeOf (typeof (IntPtr)) == 8; }
}
}
Robert
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list
