예제 #1
0
 public PcscReaderStatus(PcscContext context, IEnumerable <string> readerNames) : base(new List <PcscReaderState>())
 {
     Context = context;
     foreach (var readerName in readerNames)
     {
         Items.Add(new PcscReaderState(readerName));
     }
     _readerStates = (Provider = context.Provider).AllocateReaderStates(Items.Count);
 }
예제 #2
0
 public PcscConnection(PcscContext context, string readerName)
 {
     Provider   = (Context = context).Provider;
     ReaderName = readerName;
 }