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); }
public PcscConnection(PcscContext context, string readerName) { Provider = (Context = context).Provider; ReaderName = readerName; }