There are a few ways to reset device programatically:
But how to catch device event and log some info for debug purpose (like calling process, etc)?
Solution here.
There are a few ways to reset device programatically:
But how to catch device event and log some info for debug purpose (like calling process, etc)?
Solution here.
Try GetSystemPowerState here -> http://msdn.microsoft.com/en-us/library/ms899319.aspx
and here http://www.techlicity.com/blog/dotnetcf-manage-windows-ce-device-power-settings.html