Beispiel #1
0
        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);
            }
        }
Beispiel #2
0
        private void button21_Click(object sender, EventArgs e)
        {
            string ASCII = Encoding.ASCII.GetString(CPUCardHelper.ConverToBytes(txtCMd.Text));

            ShowLog("ASCII :" + ASCII + "\r\n");
        }
Beispiel #3
0
 private void button7_Click(object sender, EventArgs e)
 {
     CPUCardWrapper.cpuCard.CardSendCommand(CPUCardHelper.ConverToBytes(txtCMD.Text));
 }
Beispiel #4
0
        private void button4_Click(object sender, EventArgs e)
        {
            string ASCII = Encoding.ASCII.GetString(CPUCardHelper.ConverToBytes(textBox1.Text));

            WireLog("ASCII :" + ASCII + "\r\n");
        }