Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
0
Answer
ConsoleKeyInfo and Console.ReadKey()?
ytram5
20y
7.7k
1
Reply
I have seen a few examples using the ConsoleKeyInfo object and the ReadKey method for System.Console, but I cannot get it to work in my application. I get the standard type or namespace not found compilation error. I use the same using statements I saw in the examples I've looked at. An example where this object and method is used can be seen here:
http://www.dotnetspider.com/technology/KBPages/22.aspx
Essentially what I am doing is trying to get a username and password in a Console Application, and I want the password to be starred out like you can do in a Windows form. If someone knows another way to do this without using the above objects and methods, I would appreciate the help. Thanks!
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
Passing values between ASPX pages
ILGenerator