开发者

Send credentials to WebBrowser

开发者 https://www.devze.com 2022-12-23 02:33 出处:网络
I have a webbrowser control that navigates to sharepoint port. How can i send credentials to webbrowser contr开发者_如何学运维ol, so i can navigate to the site with custom credentials?It depends on t

I have a webbrowser control that navigates to sharepoint port.

How can i send credentials to webbrowser contr开发者_如何学运维ol, so i can navigate to the site with custom credentials?


It depends on the authentication method used by the server. For form authentication you just need to simulate a form post. But most likely the site is using integrated Windows authentication and you need to implement IAuthenticate(Ex) Or impersonate via LogonUser.

0

精彩评论

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