Send credentials to WebBrowser

前端 未结 1 1177
-上瘾入骨i
-上瘾入骨i 2021-01-15 04:21

I have a webbrowser control that navigates to sharepoint port.

How can i send credentials to webbrowser control, so i can navigate to the site with custom credential

相关标签:
1条回答
  • 2021-01-15 04:51

    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 讨论(0)
提交回复
热议问题