Tag Archives: password

Generate a random password in C#

As I mentioned in a recent post, you should always use a strong password for every login. Remember, a computer can perform millions or billions of operations per second, so your daughter’s birthday or the name of your son’s guinea … Continue reading

Posted in algorithms, cryptography, internet | Tagged , , , , , , , , , | Leave a comment

Make the user enter a password to use a program in C#

The example Display a simple password dialog before a program starts in C# displays a simple password form. It compares the value entered by the user with a string inside the program to decide whether the user entered the right … Continue reading

Posted in cryptography, dialogs, programs | Tagged , , , , , , , , , , | 1 Comment

Display a simple password dialog before a program starts in C#

You might think that a program could start with a password form and then display its main form if the user enters a valid password. Unfortunately when the initial password form closes, it ends the whole application. A better approach … Continue reading

Posted in dialogs, forms, programs | Tagged , , , , , , , , , , | 2 Comments