I am doing a desktop application for Mobile Device Management which monitors Exchange Server activities. Specifically, i want to know which devices attempted to connect to Exchange active sync i.e "who had attempted to connect a mobile device to their mailbox". Upon detecting a new device i plan to perform an auto quarantine feature.
My problem is: How can i detect when a device is connected to Exchange through Active Sync in real time?
I am using Visual Studio 2010 and C#
as a language.