开发者

Detecting 32-bit mode on IIS 64 bit

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜