Track device in idle state

  • Thread starter Thread starter Lina
  • Start date Start date
L

Lina

Is there any way to implement an application on .NetCF 2.0 which require user
to re-logon after a certain idle period (maybe 10 mins).

1. Launch app. -> Prompt user type in password.
2. App being activated, and user perform their task.
2.1. User may let the app idle.
2.2. After 10 mins idle time, need to prompt user to type in password again
for continue using the app.

Please kindly help.
 
There is no silver bullet to do this so you'd have to role your own. Maybe a
timer which kicks off every 10 mins. Of course you'd have to register mouse
clicks and reset the timer each time.
 
Well if your application is single screen application. Just track the last
interaction of key pressed wiht the time stamp. And each time compare it with
the last one.
Solved your query...

Ashish
 
Back
Top