Tags: authentication, basic, message, net, page, password, requires, security, systemnetwebrequest, username, xml
Basic Authentication on a System.Net.WebRequest
I'm trying to post an XML message from my page to another page and that page requires basic authentication. How do I set the username and password for basic authentication in the WebRequest object? It doesn't look like there are any properties that can be set, so I'm guessing I'll have to do this in a header.
Leave a comment...
- 0 Comments