I've read a couple of posts on SO regarding user authentication on Windows and it seems that one is able to retrieve the username, but not the password of the logged-in user, as it is hashed in one direction.
My question is: Is it possible to validate the username/password provided in the Windows Form app as a Windows login?
Essentially, my goal is to ask the user to provide once again his Windows password (username would be prompted automatically), and to check somehow if those credentials would pass as a Windows login. If so, how?
I know I can retrive the username like so: Environment.UserName; But beyond that I'm lost.