string source = "MMO-DEVELOP.RU"; using (MD5 md5Hash = MD5.Create()) { string hash = GetMd5Hash(source); MessageBox.Show(hash); }