Alex
Mon Aug 23 17:18:58 CDT 2004
Just check that Dns.GetHostByName("PPP_PEER") returns a non-null value and
does not throw an exception.
--
Alex Feinman
---
Visit
http://www.opennetcf.org
"jayderk" <jayderk@hotmail.com> wrote in message
news:uk28rbViEHA.2664@TK2MSFTNGP11.phx.gbl...
> is there an example of this out in the world of code.
>
>
> regards,
> Jay
>
>
> "Alex Feinman [MVP]" <public_news@alexfeinman.com> wrote in message
> news:eHa#BIViEHA.3996@tk2msftngp13.phx.gbl...
>> No, but you can check if Dns class can resolve PPP_PEER hostname. If so,
> the
>> device is in activesync session
>>
>> --
>> Alex Feinman
>> ---
>> Visit
http://www.opennetcf.org
>> "jayderk" <jayderk@hotmail.com> wrote in message
>> news:%232mbLiUiEHA.384@TK2MSFTNGP10.phx.gbl...
>> > Hello All,
>> >
>> > does OpenNETCF smart framework have a function that tells if active
>> > sync
>> > has
>> > a connection to my PC?
>> >
>> >
>>
>>
>
>