Detecting an ActiveSync connection?

D

djohnson

Hi,
Is there a way to, from within a c# application, detect when an ActiveSync
connection is made?
Specifically, I have an application that is running, can this application
*hook* into some event that is raised when the device is docked?

Is there a way to use the CeRunAppAtEvent to raise an event that my
application can catch?

Does anyone have any ideas on how to do this?

Thank You,
David Johnson
 
D

djohnson

After thinking about it a bit,

One thought is that a small application could be launched on the event that
simply writes a reg key with a "connected" value.

The second app would poll the registry key value at regular intervals and
take some action when the "connected" value was found. After acting on the
"connected" value the second app could reset the registry key flag to "not
connected"

Its ugly, and may work, but isn't there a better solution to handle
detecting the event?

Thanks

David Johnson
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top