Risolto!!!!!!!!!!!!!!!!!!!!!!!
Ho modificato il codice semplificandolo ve lo posto magari è di aiuto a qualcuno!!!!
[CODE] public void sendHttpData()
{
string rmc = "Dati GPS RMC non disponibili";
string gga = "Dati GPS GGA non disponibili";
if (!this.gpsPosRMC.Equals("")) {
rmc = this.gpsPosRMC;
}
if (!this.gpsPosGGA.Equals("")) {
gga = this.gpsPosGGA;
}
try
{
string sURL = "http://10.64.32.99:8080/GpsByGprs/GpsDataReciver?deviceId="+this.deviceId+"&rmc="+rm c+"&gga="+gga;
WebRequest wrGETURL = WebRequest.Create(sURL);
Stream objStream = wrGETURL.GetResponse().GetResponseStream();
objStream.Close();
}
catch(Exception e)
{
this.WriteInFile("sendHttpData:::::" + e.Message);
}
}
Se ci sono domande scrivete pure!!!!
Ciao

Rispondi quotando