IIS lets you run 32 bit applications on a 64 bit host using the enable32BitAppOnWin64
setting. How can I find out (in code) if this is set for the currently executing application pool?
I开发者_StackOverflow'm targeting C# on IIS 6 or better.
Check IntPtr.Size
, which will be 4
if your process is 32-bit. (Regardless of the processor or OS)
精彩评论