c# - The remote server returned an error: (401) Unauthorized -


i getting following error:

the remote server returned error: (401) unauthorized.

and following c# code :

 httpwebrequest request = webrequest.create("http://www.blah.com") httpwebrequest;  request.credentials = new networkcredential("user34", "pass34");  // response    request.getresponse(); 

i did research , no help.


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

asp.net mvc - Implementing normal user/pass, Twitter & Facebook auth -