/// <summary> /// Initialize to enable NFC Tag operation. /// </summary> /// <returns>Returns true if initialize succeeded, false otherwise</returns> public bool TagInit() { try { NfcTagAdapter = NfcManager.GetTagAdapter(); return(true); } catch (Exception e) { LogImplementation.DLog("Failed initialize Tag " + e.Message); return(false); } }
/// <summary> /// Initializes Tag Adapter. /// </summary> /// <returns>Returns true if initialize succeeded, false otherwise</returns> public bool TagInit() { try { tagAdapter = NfcManager.GetTagAdapter(); return(true); } catch (Exception e) { Console.WriteLine("Failed initialize Tag: " + e.Message); return(false); } }