MySQL C# Text Encoding

Charset=utf8

“Server=localhost;Database=test;Uid=test;Pwd=test;Charset=utf8;”

http://stackoverflow.com/a/8296742

c# equivalent of php’s password-verify()

using CryptSharp;
bool matches = Crypter.CheckPassword(“password goes here”, “hash goes here”);

http://stackoverflow.com/a/22616852

How to get a list box to disallow duplicate items (C#)

private void button1_Click(object sender, EventArgs e)
{
if (!ListBox.Items.Contains(listBox1.SelectedItem)) // Random Idea which doesnt work
{
listBox2.Items.Add(listBox1.SelectedItem);
}
}

ref: http://stackoverflow.com/questions/11041802/how-to-get-a-list-box-to-disallow-duplicate-items/11041896?stw=2#11041896

C#.NET How to get Current Control Name

string ctrlName = ((Control)sender).Name;

ref: https://social.msdn.microsoft.com/Forums/windows/en-US/1c5243d0-6f6d-434d-894f-337f266ebcfa/in-cnet-how-to-get-current-control-name?forum=winforms