Class MifareClassic
public class MifareClassic : TagTechnology, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ITagTechnology, ICloseable, IAutoCloseable
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<AutoCloseable>MifareClassic
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<AutoCloseable>.SExecuteWithSignature(Type, IJavaType, string, string, params object[])JVMBridgeBase<AutoCloseable>.SExecute<TReturn, TConverter>(Type, IJavaType, string, params object[])JVMBridgeBase<AutoCloseable>.IsAssignableFrom(IJavaType)JVMBridgeBase<AutoCloseable>.IsAssignableFrom<T>()JVMBridgeBase<AutoCloseable>.Execute<T>(params T[])JVMBridgeBase<AutoCloseable>.DynBridgeClazzJVMBridgeBase<AutoCloseable>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
MifareClassic()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public MifareClassic()
MifareClassic(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public MifareClassic(params object[] args)
Parameters
args
object[]
Properties
BLOCK_SIZE
public static int BLOCK_SIZE { get; }
Property Value
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
KEY_DEFAULT
public static byte[] KEY_DEFAULT { get; }
Property Value
- byte[]
KEY_MIFARE_APPLICATION_DIRECTORY
public static byte[] KEY_MIFARE_APPLICATION_DIRECTORY { get; }
Property Value
- byte[]
KEY_NFC_FORUM
public static byte[] KEY_NFC_FORUM { get; }
Property Value
- byte[]
SIZE_1K
public static int SIZE_1K { get; }
Property Value
SIZE_2K
public static int SIZE_2K { get; }
Property Value
SIZE_4K
public static int SIZE_4K { get; }
Property Value
SIZE_MINI
public static int SIZE_MINI { get; }
Property Value
TYPE_CLASSIC
public static int TYPE_CLASSIC { get; }
Property Value
TYPE_PLUS
public static int TYPE_PLUS { get; }
Property Value
TYPE_PRO
public static int TYPE_PRO { get; }
Property Value
TYPE_UNKNOWN
public static int TYPE_UNKNOWN { get; }
Property Value
Methods
AuthenticateSectorWithKeyA(int, byte[])
public bool AuthenticateSectorWithKeyA(int arg0, byte[] arg1)
Parameters
Returns
Exceptions
AuthenticateSectorWithKeyB(int, byte[])
public bool AuthenticateSectorWithKeyB(int arg0, byte[] arg1)
Parameters
Returns
Exceptions
BlockToSector(int)
public int BlockToSector(int arg0)
Parameters
Returns
Close()
public void Close()
Exceptions
Connect()
public void Connect()
Exceptions
Decrement(int, int)
public void Decrement(int arg0, int arg1)
Parameters
Exceptions
Get(Tag)
public static MifareClassic Get(Tag arg0)
Parameters
Returns
GetBlockCount()
public int GetBlockCount()
Returns
GetBlockCountInSector(int)
public int GetBlockCountInSector(int arg0)
Parameters
Returns
GetMaxTransceiveLength()
https://developer.android.com/reference/android/nfc/tech/MifareClassic.html#getMaxTransceiveLength()
public int GetMaxTransceiveLength()
Returns
GetSectorCount()
public int GetSectorCount()
Returns
GetSize()
public int GetSize()
Returns
GetTag()
public Tag GetTag()
Returns
GetTimeout()
public int GetTimeout()
Returns
GetType()
public int GetType()
Returns
Increment(int, int)
public void Increment(int arg0, int arg1)
Parameters
Exceptions
IsConnected()
public bool IsConnected()
Returns
ReadBlock(int)
public byte[] ReadBlock(int arg0)
Parameters
Returns
Exceptions
Restore(int)
public void Restore(int arg0)
Parameters
Exceptions
SectorToBlock(int)
public int SectorToBlock(int arg0)
Parameters
Returns
SetTimeout(int)
public void SetTimeout(int arg0)
Parameters
Transceive(byte[])
public byte[] Transceive(byte[] arg0)
Parameters
Returns
Exceptions
Transfer(int)
public void Transfer(int arg0)
Parameters
Exceptions
WriteBlock(int, byte[])
public void WriteBlock(int arg0, byte[] arg1)