Possible Duplicate:
How do I tell if my application is running as a 32 or 64 bit application?
Hi
I have an app in c# (Framework 3.5 SP1) and I need to load an unmanaged assembly at run time but there are two different versions, one for x86 and another for x64, so I need to know at run time in which mode is the app running
I have seen this POST but it's for C++, is there an easier way to do it in C#? or how can I do this in C#?
Thanks
You can check whether IntPtr.Size
is 4
or 8
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With