Hi,

Does anyone know how I can programmatically perform an HTTPS post in
VB.NET?? Thanks.

Re: HTTPS Post by Nick

Nick
Wed Jan 21 18:16:59 CST 2004

Sure,

Use the System/Web/ httpContext object. just use the full protocol name
and, bam, your in there.

Nick Harris, MCSD

"Christine Nguyen" <hch_nguyen@nospam.hotmail.com> wrote in message
news:u1FYZqH4DHA.360@TK2MSFTNGP12.phx.gbl...
> Hi,
>
> Does anyone know how I can programmatically perform an HTTPS post in
> VB.NET?? Thanks.
>
>
>



Re: HTTPS Post by Christine

Christine
Wed Jan 21 18:25:07 CST 2004

Hi Nick,

Thanks. I'll take a look at that.

-Christine

"Nick Harris" <nharris@VizSoft.net> wrote in message
news:O1jdJ2H4DHA.1052@TK2MSFTNGP12.phx.gbl...
> Sure,
>
> Use the System/Web/ httpContext object. just use the full protocol name
> and, bam, your in there.
>
> Nick Harris, MCSD
>
> "Christine Nguyen" <hch_nguyen@nospam.hotmail.com> wrote in message
> news:u1FYZqH4DHA.360@TK2MSFTNGP12.phx.gbl...
> > Hi,
> >
> > Does anyone know how I can programmatically perform an HTTPS post in
> > VB.NET?? Thanks.
> >
> >
> >
>
>



Re: HTTPS Post by Klaus

Klaus
Wed Jan 21 23:45:52 CST 2004

You can also use the System.Net.WebRequest type. It provides a simple way
how to make web requests.


// Initialize the WebRequest.
WebRequest myRequest = WebRequest.Create("https://www.contoso.com");

// Return the response.
WebResponse myResponse = myRequest.GetResponse();

// Code to use the WebResponse goes here.

// Close the response to free resources.
myResponse.Close();



System.Net.WebClient is a higher level abstration to simplify
uploads/downloads.


-----------------------------------------------
Klaus Salchner
email: klaus.salchner@telus.net

Proud member of
http://gotdotnet.com
http://theserverside.com

"Christine Nguyen" <hch_nguyen@nospam.hotmail.com> wrote in message
news:u1FYZqH4DHA.360@TK2MSFTNGP12.phx.gbl...
> Hi,
>
> Does anyone know how I can programmatically perform an HTTPS post in
> VB.NET?? Thanks.
>
>
>



Re: HTTPS Post by Christine

Christine
Thu Jan 22 22:42:39 CST 2004

Thanks, Klaus. I had decided that using WebRequest would be simpler, and you
just confirmed that for me. Thanks!


"Klaus Salchner" <klaus.salchner@telus.net> wrote in message
news:uZgLdqK4DHA.1672@TK2MSFTNGP12.phx.gbl...
> You can also use the System.Net.WebRequest type. It provides a simple way
> how to make web requests.
>
>
> // Initialize the WebRequest.
> WebRequest myRequest = WebRequest.Create("https://www.contoso.com");
>
> // Return the response.
> WebResponse myResponse = myRequest.GetResponse();
>
> // Code to use the WebResponse goes here.
>
> // Close the response to free resources.
> myResponse.Close();
>
>
>
> System.Net.WebClient is a higher level abstration to simplify
> uploads/downloads.
>
>
> -----------------------------------------------
> Klaus Salchner
> email: klaus.salchner@telus.net
>
> Proud member of
> http://gotdotnet.com
> http://theserverside.com
>
> "Christine Nguyen" <hch_nguyen@nospam.hotmail.com> wrote in message
> news:u1FYZqH4DHA.360@TK2MSFTNGP12.phx.gbl...
> > Hi,
> >
> > Does anyone know how I can programmatically perform an HTTPS post in
> > VB.NET?? Thanks.
> >
> >
> >
>
>