How to send a http request (URL) from Window Form

G

Guest

Dear All,

I need to send an URL request to a web server from my Window application.

e.g. http:\\serverA\IamAlive.asp

Unfortunately, the web server does not provide Web Service. I need to send
the URL directly. How can I do that?

Thanks for any help.

Tedmond
 
J

Joerg Jooss

Hello Tedmond,
Dear All,

I need to send an URL request to a web server from my Window
application.

e.g. http:\\serverA\IamAlive.asp

URLs use forward slashes ;-)
Unfortunately, the web server does not provide Web Service. I need to
send the URL directly. How can I do that?

Have a look at System.Net.WebClient.

Cheers,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top