public APDU_Sample()
        {
            try
            {
                fedm      = new FedmIscReader();
                APDU_Prot = new FedmCprApdu(this);
                fedm.SetTableSize(FedmIscReaderConst.ISO_TABLE, 128);
            }
            catch (Exception ex)
            {
                MessageBox.Show(this, ex.ToString(), "Error");
            }



            config = new PortConnection();
            config.PortConfig(ref fedm);
            DialogResult reponse = config.ShowDialog();

            // Check Reader - Support of APDUs
            if (fedm.GetReaderType() == FedmIscReaderConst.TYPE_CPR02 ||
                fedm.GetReaderType() == FedmIscReaderConst.TYPE_CPR04_U ||
                fedm.GetReaderType() == FedmIscReaderConst.TYPE_CPR40_XX ||
                fedm.GetReaderType() == FedmIscReaderConst.TYPE_CPR40_XX_U ||
                fedm.GetReaderType() == FedmIscReaderConst.TYPE_CPR50_XX ||
                fedm.GetReaderType() == FedmIscReaderConst.TYPE_CPR52_XX ||
                fedm.GetReaderType() == FedmIscReaderConst.TYPE_CPR44_XX ||
                fedm.GetReaderType() == FedmIscReaderConst.TYPE_CPR30_XX ||
                fedm.GetReaderType() == FedmIscReaderConst.TYPE_CPRM02)
            {
            }
            else
            {
                MessageBox.Show(this, "Reader doesn't support APDU commands!", "Error");
            }

            InitializeComponent();
            // First send "Inventory" and select Tag before APDU Input
            this.button_sendAPDU.Enabled    = false;
            this.maskedTextBox_APDU.Enabled = false;
        }