Added: Complete Real Test

This commit is contained in:
TheJoKlLa
2020-11-07 01:14:51 +01:00
parent 872aeccee7
commit 6c51e40891
23 changed files with 1020 additions and 1199 deletions

View File

@ -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);
}
}
}

View File

@ -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;
}