private async void MiscMeSnBtn_Clicked(object sender, EventArgs e) { try { Log.Debug(Globals.LogTag, "GetMiscMeSn async call start"); MiscSerialNumberInformation info = await modem.GetMiscMeSn(); if (info != null) { Log.Debug(Globals.LogTag, "MiscSerialNumberInformation data is -- "); Log.Debug(Globals.LogTag, "Esn = " + info.Esn); Log.Debug(Globals.LogTag, "Imei = " + info.Imei); Log.Debug(Globals.LogTag, "ImeiSv = " + info.ImeiSv); Log.Debug(Globals.LogTag, "Meid = " + info.MeId); } Log.Debug(Globals.LogTag, "GetMiscMeSn async call end"); Log.Debug(Globals.LogTag, "GetMiscMeSn sync call start"); MiscSerialNumberInformation infosync = modem.MiscMeSnSync; if (infosync != null) { Log.Debug(Globals.LogTag, "MiscSerialNumberInformation data is -- "); Log.Debug(Globals.LogTag, "Esn = " + infosync.Esn); Log.Debug(Globals.LogTag, "Imei = " + infosync.Imei); Log.Debug(Globals.LogTag, "ImeiSv = " + infosync.ImeiSv); Log.Debug(Globals.LogTag, "Meid = " + infosync.MeId); } Log.Debug(Globals.LogTag, "GetMiscMeSn sync call end"); } catch (Exception ex) { Log.Debug(Globals.LogTag, "GetMiscMeSn ,exception = " + ex.ToString()); } }