private async void MiscMeImeiBtn_Clicked(object sender, EventArgs e) { try { Log.Debug(Globals.LogTag, "GetMiscMeImei async call start"); string info = await modem.GetMiscMeImei(); if (info != null) { Log.Debug(Globals.LogTag, "MiscImei number is -- " + info); } Log.Debug(Globals.LogTag, "GetMiscMeImei async call end"); Log.Debug(Globals.LogTag, "GetMiscMeImei sync call start"); string infosync = modem.MiscMeImeiSync; if (infosync != null) { Log.Debug(Globals.LogTag, "MiscImei number is -- " + infosync); } Log.Debug(Globals.LogTag, "GetMiscMeImei sync call end"); } catch (Exception ex) { Log.Debug(Globals.LogTag, "GetMiscMeImei ,exception = " + ex.ToString()); } }