none
How to get total count of keypad press in 1 minute. asp.net RRS feed

  • Question

  • Hello Everyone,

    How to get total count of keypad press in 1 minute for window application. asp.net

    Thanks,

    Garima

    Monday, March 27, 2017 6:27 AM

All replies

  • By processing keyup event on javascript side.

    You won't want to do it at server side because:

    1) it's slow, probably much slower than key press speed unless running in localhost;

    2) if you allowing more than a dozen people doing it, you'll effective asking for DDOS-ing your server. (just ask anyone who've hold online polling for controversial subject, but without implementing meaningful way to avoid multiple voting.)


    Tuesday, March 28, 2017 1:33 AM
    Answerer
  • Hi Garima.gupta,

    The following link provide a simple about store the key into a txt file. you could add create date and then calculate the count from the txt files.

    http://www.c-sharpcorner.com/article/key-logger-application-in-C-Sharp/

    Best regards,

    Cole Wu


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, March 28, 2017 1:47 AM
    Moderator
  • He ask for ASP.NET, not WinForm, though.

    And he ask for key press count only, not for keylogging.

    Tuesday, March 28, 2017 1:52 AM
    Answerer