mirror of
https://gitlab.com/fabinfra/fabaccess/borepin.git
synced 2025-06-11 02:53:23 +02:00
Added: Complete Real Test
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
|
||||
namespace NFC.Readers.PCSC
|
||||
{
|
||||
public class Hardware : IHardware
|
||||
public class PCSC_Hardware : IHardware
|
||||
{
|
||||
public string[] GetReaders()
|
||||
{
|
||||
@ -27,7 +27,7 @@ namespace NFC.Readers.PCSC
|
||||
|
||||
public IReader OpenReader(string readerID)
|
||||
{
|
||||
return new Reader(readerID);
|
||||
return new PCSC_Reader(readerID);
|
||||
}
|
||||
}
|
||||
}
|
@ -1,13 +1,11 @@
|
||||
using PCSC;
|
||||
using PCSC.Iso7816;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace NFC.Readers.PCSC
|
||||
{
|
||||
|
||||
public class Reader : IReader, IDisposable
|
||||
public class PCSC_Reader : IReader, IDisposable
|
||||
{
|
||||
private string _ReaderID;
|
||||
private IContextFactory _ContextFactory;
|
||||
@ -15,7 +13,7 @@ namespace NFC.Readers.PCSC
|
||||
private IsoReader _ISOReader;
|
||||
private ICard _Card;
|
||||
|
||||
public Reader(string readerID)
|
||||
public PCSC_Reader(string readerID)
|
||||
{
|
||||
_ReaderID = readerID;
|
||||
}
|
Reference in New Issue
Block a user