public static CThostFtdcMdApi CreateFtdcMdApi(string pszFlowPath, bool bIsUsingUdp, bool bIsMulticast) { global::System.IntPtr cPtr = CTPMarketCppWrapperPINVOKE.CThostFtdcMdApi_CreateFtdcMdApi__SWIG_0(pszFlowPath, bIsUsingUdp, bIsMulticast); CThostFtdcMdApi ret = (cPtr == global::System.IntPtr.Zero) ? null : new CThostFtdcMdApi(cPtr, false); return(ret); }