Reading Password from Console
-
I'm trying to read a password from the Console and I need it to hide what is being typed. I'm using System.ReadLine() but I can't figure out how to hide what is being typed. There must be simple solution but I can't find it. Any ideas?
-
I'm trying to read a password from the Console and I need it to hide what is being typed. I'm using System.ReadLine() but I can't figure out how to hide what is being typed. There must be simple solution but I can't find it. Any ideas?
You will have to look at the Win32 Console API, specifically turning on/off echoing, and will you are there colors are a breeze too :)
-
I'm trying to read a password from the Console and I need it to hide what is being typed. I'm using System.ReadLine() but I can't figure out how to hide what is being typed. There must be simple solution but I can't find it. Any ideas?
may be using Win32 Old API ;) it can be possible !!