J
jayderk
Hello all,
a little while back an expert responded to my question about if a PPC was
connected to the PC.
the response was to check for the connection make this call.
try
{
System.Net.IPHostEntry myip = System.Net.Dns.GetHostByName("PPP_PEER");
if(myip != null)
{
MessageBox.Show("got a connection","has connection");
}
}
catch(Exception theEx)
{
MessageBox.Show("Error Connecting","no connection");
}
this works great, but I would also like to know if active sync is done
sync-ing for this session....
eg...
if("got a connection" and "sync complete")
{
//do what I need to do..
}
a little while back an expert responded to my question about if a PPC was
connected to the PC.
the response was to check for the connection make this call.
try
{
System.Net.IPHostEntry myip = System.Net.Dns.GetHostByName("PPP_PEER");
if(myip != null)
{
MessageBox.Show("got a connection","has connection");
}
}
catch(Exception theEx)
{
MessageBox.Show("Error Connecting","no connection");
}
this works great, but I would also like to know if active sync is done
sync-ing for this session....
eg...
if("got a connection" and "sync complete")
{
//do what I need to do..
}