Hi Ram,
You could try setting the Credentials property of the WebClient.
WebClient webClient = new WebClient();
webClient.Credentials = new System.Net.NetworkCredential("UserName",
"Password", "Domain");
Regards,
Aravind C
"Ram Baruch" <ra*********@newsgroups.nospam> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Hi,
I'm trying to use WebClient class to upload data. In order to upload it, I
need to use my username and password. Does somebody know how can I set it
in the WebClient class?
Regards,
Ram.