Link to home
Start Free TrialLog in
Avatar of jxharding
jxharding

asked on

internet cafe program suggestions:e.g. prevent (xp) user from using internet after 15min, and how to enable it for 15min

hi , im writing a quick and dirty app for a small 2 pc internet cafe.
the idea i have is that the user pays the administrator an amount

the  administrator then copies a exe i wrote to the desktop of the pc that will be used.

the client then runs the exe (which will be deleted afterwards) and then is allowed to use internet explorer for 15 minutes.
i am aware that windows explorer can also be used for this purpose.,

so should i rather let the user get logged off after his time expires? or how can i stop him from using the internet after the set time?

any other suggestions for my program? any links?
thanks!
ASKER CERTIFIED SOLUTION
Avatar of armoghan
armoghan
Flag of Pakistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jxharding
jxharding

ASKER

hi armoghan
i did write a timer in vb  that counts down and i plan to implement the disconnection procedures to it.
that codeproject link looks very good, im going to try it out now.
it seems that logging off the user is the best way to go?
yes log off will serve the purpose from preventing the user to continue using internet
hi armoghan, the link shuts down the pc.
do u perhaps have any tips regarding logging off?
thanks!
In the same article see the Case 4. It logs off

case 4:
Org.Mentalis.Utilities.WindowsController.
ExitWindows(RestartOptions.LogOff, false);