Search code examples
c#compact-frameworkwindows-cedevice-manager

wince get notification on resume of device c#


I have a mobile application on a windows ce 6.0 device. The device sometimes is sent to suspend by a hardwarebutton. I want to do some tasks, as soon, the device is resumed.

Is it possible to check in a .net cf-program, if the device was resumed?

Thanks!


Solution

  • Thanks for your answers...

    On further reasearching I found a event in OpenNETCF, fitting just my needs.

    The event OpenNETCF.WindowsCE.PowerManagement.PowerUp is fired, when resuming a device - everything works fine here...