Re: WebClient with username + password
From: Ram Baruch (ram_ba_ruch_at_newsgroups.nospam)
Date: 06/01/04
- Next message: saato: "z-index order"
- Previous message: Kevin Yu [MSFT]: "Re: NameObjectCollectionBase"
- In reply to: Aravind C: "Re: WebClient with username + password"
- Next in thread: Steven Cheng[MSFT]: "Re: WebClient with username + password"
- Reply: Steven Cheng[MSFT]: "Re: WebClient with username + password"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 1 Jun 2004 10:59:13 +0200
thanx!
"Aravind C" <aravindcorera@nospam.hotmail.com> wrote in message
news:exjmcy6REHA.556@TK2MSFTNGP10.phx.gbl...
> 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" <ram_ba_ruch@newsgroups.nospam> wrote in message
> news:%23jQHgl6REHA.3140@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.
> >
> >
>
>
- Next message: saato: "z-index order"
- Previous message: Kevin Yu [MSFT]: "Re: NameObjectCollectionBase"
- In reply to: Aravind C: "Re: WebClient with username + password"
- Next in thread: Steven Cheng[MSFT]: "Re: WebClient with username + password"
- Reply: Steven Cheng[MSFT]: "Re: WebClient with username + password"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|