using System.Collections.Generic; using System; using NFC.Exceptions; namespace NFC.Interfaces { /// /// Service to provide hardware specific NFC Interfaces /// public interface INFCService { /// /// Indicates if NFC Hardware is available /// bool IsAvailable { get; } /// /// Indicates if NFC Hardware is enabled /// bool IsEnabled { get; } /// /// Indicates if NFC Card is connected /// bool IsConnected { get; } /// /// Get a list of availible NFC ReaderIDs /// IList GetReaderIDs(); /// /// Connect with ReaderID to NFC Card /// /// ReaderID from GetReaderIDs /// /// /// /// void Connect(string readerID); /// /// Disconnects Reader from NFC Card /// /// /// void Disconnect(); /// /// Transmit APDUCommand to Card if connected /// /// /// /// /// /// APDUResponse Transmit(APDUCommand command); } }