public ISN_Device(string deviceData) { string[] dataArray = deviceData.Split(SA.Common.Data.Converter.DATA_SPLITTER); _Name = dataArray[0]; _SystemName = dataArray[1]; _Model = dataArray[2]; _LocalizedModel = dataArray[3]; _SystemVersion = dataArray[4]; _MajorSystemVersion = System.Convert.ToInt32(dataArray[5]); _InterfaceIdiom = (ISN_InterfaceIdiom)System.Convert.ToInt32(dataArray[6]); _GUID = new ISN_DeviceGUID(dataArray[7]); }
public ISN_Device(string deviceData) { string[] dataArray = deviceData.Split(IOSNative.DATA_SPLITTER); _Name = dataArray[0]; _SystemName = dataArray[1]; _Model = dataArray[2]; _LocalizedModel = dataArray[3]; _SystemVersion = dataArray[4]; _MajorSystemVersion = System.Convert.ToInt32(dataArray[5]); _InterfaceIdiom = (ISN_InterfaceIdiom) System.Convert.ToInt32(dataArray[6]); _GUID = new ISN_DeviceGUID(dataArray[7]); }
//-------------------------------------- // GET/SET //-------------------------------------- //-------------------------------------- // EVENTS //-------------------------------------- void OnGUIDLoaded(ISN_DeviceGUID result) { ISN_Security.OnGUIDLoaded -= OnGUIDLoaded; IOSNativePopUpManager.showMessage("GUID Loaded", result.GetBase64String()); }
//-------------------------------------- // GET/SET //-------------------------------------- //-------------------------------------- // EVENTS //-------------------------------------- void OnGUIDLoaded (ISN_DeviceGUID result) { ISN_Security.OnGUIDLoaded -= OnGUIDLoaded; IOSNativePopUpManager.showMessage("GUID Loaded", result.Base64String); }
private void Event_GUIDLoaded(string data) { ISN_DeviceGUID GUID = new ISN_DeviceGUID(data); OnGUIDLoaded(GUID); }