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); }