D
Drydo
Eh up,
Does the .Net framework support the ability to place the desktop
machine into suspend mode and resume again after a specified amount of
time?
In VB6 this could be achieved by using the 'SetSystemPowerState' to go
into Suspend and to resume after a specified amount of time (by
setting a low level timer to generate a wakeup event using
CreateWaitableTimer).
Will I have to revert to converting the API32 calls to dotNET (using
the PInvoke) or does the Framework support this?
Any help, pointers or encourage gratefully received! Drydo
p.s. if anyone is aware of a API32 / dotNet comparison facility out
there - let me know, I'm going through the painful process of
converting API calls into a dotNet app and I would rather use the
Framework than erverting to the API32.
Does the .Net framework support the ability to place the desktop
machine into suspend mode and resume again after a specified amount of
time?
In VB6 this could be achieved by using the 'SetSystemPowerState' to go
into Suspend and to resume after a specified amount of time (by
setting a low level timer to generate a wakeup event using
CreateWaitableTimer).
Will I have to revert to converting the API32 calls to dotNET (using
the PInvoke) or does the Framework support this?
Any help, pointers or encourage gratefully received! Drydo
p.s. if anyone is aware of a API32 / dotNet comparison facility out
there - let me know, I'm going through the painful process of
converting API calls into a dotNet app and I would rather use the
Framework than erverting to the API32.