/// <summary> /// 获取当前的SDK版本 /// </summary> ///<returns> ///SDK版本号 /// </returns> public static Version GetSdkVersion() { var version = NativeOfficalApis.GetSDKVersion(); var bytes = BitConverter.GetBytes(version); return(new Version(bytes[0], bytes[1], bytes[2], bytes[3])); }
/*@fn MV_SC_Discovery **@brief 枚举设备 **@param pstDevList 设备信息列表结构体指针 **@return 成功:返回MV_OK;失败:返回错误码 */ public static ErrorCode Discovery(ref DeviceInformationCollection deviceInformationCollection) { return(NativeOfficalApis.Discovery(ref deviceInformationCollection)); }