is there anyway to check if pocket pc is connected to desktop via activesync?

i am not supposed to use opennetcf libraries for some reason.
thanks.

Well the opennetcf library is open source, so you can at least download the source and see how they do it.

thanks, i will give it a try.

i found very good solution to this problem
http://www.daniweb.com/forums/thread199591.html
this solution does not use opennetCF. so instead of adding that big library and all the licensing issues you just add few lines of code to your application. this is serkan sendur style. someone has to add to my reputation for this thread as i can not add to mine.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.