开发者

Detecting 32-bit mode on IIS 64 bit

开发者 https://www.devze.com 2023-01-15 02:53 出处:网络
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?

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)

0

精彩评论

暂无评论...
验证码 换一张
取 消