locked
Determine ActiveSync Status using Visual C# - Is a Device Connected? RRS feed

  • Question

  • How can I use Visual C# APIs to determine if there is a device currently connected via ActiveSync?  I am currently developing a WinForms application to do so.  I found a series of classes on ActiveSync over at OpenNETCF.org.  I am rather new to Visual C# programming, but not good enough yet to effectively use that class.  I would think that I could make P/Invoke calls?  What I'd eventually like to do is make is an ASP.NET application, but I would think that there would be security issues when trying to interact with a component of a desktop client from a web application.  Does that sound right?  Or can I just put up a warning that if the user selects 'OK' I'd be able to proceed?

    Regards,
    Scott 

    Monday, June 27, 2011 8:47 PM

Answers