private void button15_Click(object sender, EventArgs e) { try { byte[] data = CPUCardHelper.ConverToBytes(txtCMd.Text); ApduCommand cmd = new ApduCommand(data); txtLog.AppendText("解析命令:" + cmd.ToString()); } catch (Exception ex) { MessageBox.Show(ex.Message); } }
private void button21_Click(object sender, EventArgs e) { string ASCII = Encoding.ASCII.GetString(CPUCardHelper.ConverToBytes(txtCMd.Text)); ShowLog("ASCII :" + ASCII + "\r\n"); }
private void button7_Click(object sender, EventArgs e) { CPUCardWrapper.cpuCard.CardSendCommand(CPUCardHelper.ConverToBytes(txtCMD.Text)); }
private void button4_Click(object sender, EventArgs e) { string ASCII = Encoding.ASCII.GetString(CPUCardHelper.ConverToBytes(textBox1.Text)); WireLog("ASCII :" + ASCII + "\r\n"); }