none
Lock the PC

    Question

  • Hi,

    I am developing an internet cafe software using C# and I want to know how can I Lock the PC from the server or based on a time.. but basically I want the whole screen to be covered by a form and user can't do anything in the PC unless the form is gone by whatever way I define.

     

    Thanks,

    Jassim


    Jassim Rahma
    Thursday, October 14, 2010 10:59 AM

Answers

  • you would need a server app and a client app, with a duplex connection.

    wcf, remoting, ... would do fine for this.

    The form to lock a pc, you can use a top level form, maximize it, don't show control box....

    • Marked as answer by SamAgain Friday, October 22, 2010 7:48 AM
    Thursday, October 14, 2010 11:43 AM
  • And stop explorer or disable the Windows keyboard key
    • Marked as answer by SamAgain Friday, October 22, 2010 7:48 AM
    Thursday, October 14, 2010 1:20 PM
  • Hi,

    Thanks for your post. Generally speaking, we could make a server/client program and send "lock" command from server to client. The client can lock the computer with the Windows API LockWorkStation().


    Please mark the right answer at the right time.
    Thanks,
    Sam
    • Marked as answer by SamAgain Friday, October 22, 2010 7:51 AM
    Friday, October 22, 2010 7:51 AM

All replies

  • you would need a server app and a client app, with a duplex connection.

    wcf, remoting, ... would do fine for this.

    The form to lock a pc, you can use a top level form, maximize it, don't show control box....

    • Marked as answer by SamAgain Friday, October 22, 2010 7:48 AM
    Thursday, October 14, 2010 11:43 AM
  • And stop explorer or disable the Windows keyboard key
    • Marked as answer by SamAgain Friday, October 22, 2010 7:48 AM
    Thursday, October 14, 2010 1:20 PM
  • Hi,

    Thanks for your post. Generally speaking, we could make a server/client program and send "lock" command from server to client. The client can lock the computer with the Windows API LockWorkStation().


    Please mark the right answer at the right time.
    Thanks,
    Sam
    • Marked as answer by SamAgain Friday, October 22, 2010 7:51 AM
    Friday, October 22, 2010 7:51 AM