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’m targeting C# on IIS 6 or better.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Check
IntPtr.Size, which will be4if your process is 32-bit. (Regardless of the processor or OS)