Click here to Skip to main content
15,886,026 members
Articles / Programming Languages / C#

.NET Console Password Input By Masking Keyed-In Characters

Rate me:
Please Sign up or sign in to vote.
4.40/5 (18 votes)
27 Aug 2004CPOL8 min read 119K   1.2K   32  
Demonstrates how to intercept .NET console keyboard input and display a * in place of each actual typed-in character.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Systems Engineer NEC
Singapore Singapore
Lim Bio Liong is a Specialist at a leading Software House in Singapore.

Bio has been in software development for over 10 years. He specialises in C/C++ programming and Windows software development.

Bio has also done device-driver development and enjoys low-level programming. Bio has recently picked up C# programming and has been researching in this area.

Comments and Discussions