Skip to content

Instantly share code, notes, and snippets.

Jason Santus Dias JasonSantus

Block or report user

Report or block JasonSantus

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@huobazi
huobazi / gist:1039424
Created Jun 22, 2011
Password masking in C# console application
View gist:1039424
/// <summary>
/// Gets the console secure password.
/// </summary>
/// <returns></returns>
private static SecureString GetConsoleSecurePassword( )
{
SecureString pwd = new SecureString( );
while ( true )
{
You can’t perform that action at this time.