private void button2_Click(object sender, EventArgs e) { ApduMsg msg = CardReader.Auth(txtPwd.Text); DisplayLog(msg); }
/// <summary> /// 身份验证 /// </summary> /// <param name="key"></param> /// <returns></returns> public static bool Auth(string key = DefaultKEY) { return(cpuCard.Auth(DefaultKEY).IsSuccess); }