/// <summary> /// 获取版本信息 /// </summary> /// <param name="version">版本信息</param> /// <returns>返回0表示正常;返回负数请根据ErrorCodeUtil类注释查看;其他值请在官网-帮助中心查询</returns> public int ASFGetVersion(out SDKVersion version) { version = new SDKVersion(); int retCode = -1; ASF_VERSION asfVersion = ASFFunctions.ASFGetVersion(); version.version = Marshal.PtrToStringAnsi(asfVersion.Version); version.buildDate = Marshal.PtrToStringAnsi(asfVersion.BuildDate); version.copyRight = Marshal.PtrToStringAnsi(asfVersion.CopyRight); return(retCode); }