private async Task InitializeRfid()
        {
            var listener = new CardListener();

            listener.CardReceived += CardReceived;
            listener.Start();
        }
        private static void LaunchListener()
        {
            // INFORMATION ABOUT THE RFID READER.
            // Port : Port_#0004.Hub_#0003
            // VID : FFFF
            // PID : 0035
            var listener = new CardListener();

            listener.Start();
            listener.CardReceived += CardReceived;
        }
        protected override void InitializeShell()
        {
            base.InitializeShell();
            _eventAggregator = ServiceLocator.Current.GetInstance <IEventAggregator>();
            var cardListener = new CardListener();

            cardListener.CardReceived += CardReceived;
            cardListener.Start();
            Application.Current.MainWindow = (Window)Shell;
            Application.Current.MainWindow.Show();
        }