示例#1
0
    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]);
    }
示例#2
0
	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]);

	}
示例#3
0
    //--------------------------------------
    //  GET/SET
    //--------------------------------------

    //--------------------------------------
    //  EVENTS
    //--------------------------------------


    void OnGUIDLoaded(ISN_DeviceGUID result)
    {
        ISN_Security.OnGUIDLoaded -= OnGUIDLoaded;
        IOSNativePopUpManager.showMessage("GUID Loaded", result.GetBase64String());
    }
示例#4
0
	//--------------------------------------
	//  GET/SET
	//--------------------------------------
	
	//--------------------------------------
	//  EVENTS
	//--------------------------------------


	void OnGUIDLoaded (ISN_DeviceGUID result) {
		ISN_Security.OnGUIDLoaded -= OnGUIDLoaded;
		IOSNativePopUpManager.showMessage("GUID Loaded", result.Base64String);
	}
示例#5
0
    private void Event_GUIDLoaded(string data)
    {
        ISN_DeviceGUID GUID = new ISN_DeviceGUID(data);

        OnGUIDLoaded(GUID);
    }