开发者

Is there any way to check if the user enters their windows password incorrectly?

I'm not sure if it is actually possibe in C#, but I was wondering if there w开发者_开发知识库as a way to check everytime the user logs into the computer, and if the password was incorrect, call a function within the program. I'm not sure how tight the security is on things like this, so any help would be appreciated.


Perhaps this would be a good place to start:

Hook windows logon/logoff events

I am no expert, but it seems the callbacks you get from the OS concerning logons are:

  • Logon
  • Logoff
  • StartShell
  • DisplayLock
  • DisplayUnlock
  • StartScreenSaver
  • StopScreenSaver

I can't see anything relating to a failed logon attempt, so I guess you'd have to dig deeper - if it's possible at all.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜