コード例 #1
0
 /// <summary>
 /// 복호화 확인 버튼
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnOK_Click(object sender, EventArgs e)
 {
     if (txtDecKey.Text == "angel")
     {
         txtAddress.Text = Network.Decrypt(mAddress);
         txtID.Text      = Network.Decrypt(mID);
     }
     else
     {
         MessageBox.Show("키가 옳바르지 않음");
     }
 }