mirror of
https://gitlab.com/fabinfra/fabaccess/borepin.git
synced 2025-03-13 15:21:45 +01:00
25 lines
440 B
C#
25 lines
440 B
C#
|
using System;
|
|||
|
using CoreNFC;
|
|||
|
using NFC;
|
|||
|
|
|||
|
namespace Borepin.iOS.CNFC
|
|||
|
{
|
|||
|
public class Hardware : IHardware
|
|||
|
{
|
|||
|
public bool IsAvailable()
|
|||
|
{
|
|||
|
return NFCReaderSession.ReadingAvailable;
|
|||
|
}
|
|||
|
|
|||
|
public String[] GetReaders()
|
|||
|
{
|
|||
|
return new String[] { "main" };
|
|||
|
}
|
|||
|
|
|||
|
public IReader OpenReader(String readerID)
|
|||
|
{
|
|||
|
return new Reader();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|