views:

125

answers:

1

When I navigate to an intranet site requiring windows authentication, the WinForms WebBrowser control isn't displaying a login dialog. But it will display (after refreshing the page) if I first open Internet Explorer and view the same page.

Also, if I make the URL refer to my local IIS instance, the login dialog will appear.

Any ideas? Thanks!

A: 

You can send credentials via IAuthenticate. You can either extend the winform webbrowser site or write your own webbrowser wrapper.

Sheng Jiang 蒋晟
Yeah, I saw these articles on these techniques. Thanks. But it seems like the log-in dialog should at least be displaying without the inducement of first browsing the page in IE. I suppose that this behavior is a bug; but I'm not really sure.
CalvinCD

related questions