I am following the article and sample that can be found in this address: http://msdn.microsoft.com/en-us/library/hh147177.aspx
Everything works fine but I need a more automated solution. The user shouldn't see the login popup, and my app must be able to login on behalf of the user without waiting for the popup.
I have two questions in this context:
Can I fill the username and password input boxes in the web browser control automatically? And what do you think of using this system in a service architecture where a service logs in for the users? Using WebBrowser control in a WCF service method makes me nervous.
Can I give up using WebBrowser control completely and code the login process with pure TCP Sockets? I know it's not possible with WebRequest classes because AFAIK HTTPOnly cookies cannot be retrieved with them.
Thanks in advance.