Hi,
Depend of the remote end, if it;s a web server expecting a http request and
the data in the url you can use webrequest.Create to create it.
Later you have to check the format of the data you receive , just read it in
a stream and dump it in the console.
Please explain further what you mean with "ping type" . IIRC there is not a
Ping class in teh framework
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Greg" <gr*************@yahoo.co.uk> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
My app needs to make 3 calls to a remote server. 2 contain key value
pairs, and one is a simple ping type call. All 3 are to listen for data
returned in key-value pairs.
Is WebClient.UploadData the correct way to do this? The remote server
doesn't recognise the parameters that I am sending. Is
WebClient.UploadValues an easier way to do the same thing (i.e. makes
packaging of the keys and values more simple)?
Should the ping type call be using a different class altogether?
Greg.