[Mono-list] Processor size

Robert Jordan robertj at gmx.net
Mon Apr 14 07:05:58 EDT 2008


Mathias Tausig wrote:
> Hy!
> 
> Is there any possibility to determine during runtime wether I am running
> on a 32bit or on a 64bit platform apart from calling "uname"?

Check System.IntPtr.Size. It's 8 on 64-bit.

Robert



More information about the Mono-list mailing list