P
P
power mind2018-02-25 23:55:01
C++ / C#
power mind, 2018-02-25 23:55:01

How to check if the user entered the password for the Windows account correctly?

There is such a form in visual c++ 5a93f12e9c532582946783.jpeg
When the user enters a password and clicks on the "Confirm" button, the program should determine whether the user has entered the correct password. How to make such a check?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Armenian Radio, 2018-02-26
@dkdoter

Ummm... you're obviously doing something wrong by inventing safety on the knee.
In any case, you can try to use the CreateProcessWithLogonW function - if it works and the process is created, the login is correct.
Once again I emphasize that you are clearly doing something wrong - state the task in more detail.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question