I'm trying to write a little tool that lets me send http requests and responses, as I learn more about network functions in the .NET framework.
However, when dealing with a page that requires Windows Live ID authentication, I can't figure out how to write a request that includes my authentication information so that I can retrieve the page's HTML. I just end up with HTML that includes the username and password entry for a Windows Live ID.
Can someone show me a sample of how to write a HttpRequest in C# that will let me authenticate with a site that uses a Windows Live ID?
Thanks,
-Craig