Detecting a global redirector in C#
I have a C# desktop application that opens a non-resizeable browser window (I have no control over this browser window as it is opened from a library) and whenever there is a redirector on any internet connection, such as you see at hotels and sometimes schools, the browser opens that page instead, which causes lots of problems, especially if you can't scroll over to do whatever it is you need to do to connect.

How can I check if there is such a redirector? I have tried to just create a `HttpWebRequest` to the site, set `AllowAutoRedirect` to false, try to get the response, and check the value of `IsMutuallyAuthenticated` but the value of `IsMutuallyAuthenticated` is always false, even when I actually can connect and get data from the response.

Or more generally, how can I check that the browser window is going to be able to get to the site it wants to?
Detecting a global redirector in C#
===

I have a C# desktop application that opens a non-resizeable browser window (I have no control over this browser window as it is opened from a library) and whenever there is a redirector on any internet connection, such as you see at hotels and sometimes schools, the browser opens that page instead, which causes lots of problems, especially if you can't scroll over to do whatever it is you need to do to connect.

How can I check if there is such a redirector? I have tried to just create a `HttpWebRequest` to the site, set `AllowAutoRedirect` to false, try to get the response, and check the value of `IsMutuallyAuthenticated` but the value of `IsMutuallyAuthenticated` is always false, even when I actually can connect and get data from the response.

Or more generally, how can I check that the browser window is going to be able to get to the site it wants to?