Exemplo n.º 1
0
        public Cardreader()
        {
            LowlevelReader = new LowLevelCardReader();
            Reader = new Watcher.Watcher(LowlevelReader);
            ActionQueue = new ActionQueue(LowlevelReader);

            Reader.CardConnected += OnCardConnected;
            Reader.CardDisconnected += OnCardDisconnected;
            Reader.CardreaderConnected += OnCardreaderConnected;
            Reader.CardreaderDisconnected += OnCardreaderDisconnected;
        }
Exemplo n.º 2
0
        public Cardreader()
        {
            LowlevelReader = new LowLevelCardReader();
            Reader         = new Watcher.Watcher(LowlevelReader);
            ActionQueue    = new ActionQueue(LowlevelReader);

            Reader.CardConnected          += OnCardConnected;
            Reader.CardDisconnected       += OnCardDisconnected;
            Reader.CardreaderConnected    += OnCardreaderConnected;
            Reader.CardreaderDisconnected += OnCardreaderDisconnected;
        }