public static void InitWebReader()
        {
            WebContext = ContextHandler.Instance;
            IReadOnlyList <string> myreaders = WebContext.ListReaders();
            string readername = myreaders[0];

            WebReader = new SmartCardReader(readername);
        }
        public async Task <object> Invoke(object input)
        {
            WebContext = ContextHandler.Instance;
            IReadOnlyList <string> myreaders = WebContext.ListReaders();
            string readername = myreaders[0];

            WebReader = new SmartCardReader(readername);
            return(WebReader.PcscReaderName);
        }