Esempio n. 1
0
        public SWIGTYPE_p_byte getComponentId()
        {
            SWIGTYPE_p_byte ret = new SWIGTYPE_p_byte(DeviceDetectionHashEngineModulePINVOKE.ComponentMetaDataSwig_getComponentId(swigCPtr), true);

            if (DeviceDetectionHashEngineModulePINVOKE.SWIGPendingException.Pending)
            {
                throw DeviceDetectionHashEngineModulePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 2
0
        public ComponentMetaDataSwig getByKey(SWIGTYPE_p_byte key)
        {
            global::System.IntPtr cPtr = DeviceDetectionHashEngineModulePINVOKE.ComponentMetaDataCollectionSwig_getByKey(swigCPtr, SWIGTYPE_p_byte.getCPtr(key));
            ComponentMetaDataSwig ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ComponentMetaDataSwig(cPtr, true);

            if (DeviceDetectionHashEngineModulePINVOKE.SWIGPendingException.Pending)
            {
                throw DeviceDetectionHashEngineModulePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_byte obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }