public static void WriteAttributesToCameraFile(ImaqdxSessionHandle session) { Debug.Assert(session != null, "The session parameter cannot be null."); Debug.Assert(!session.IsInvalid, "The session parameter must be a valid handle."); int status = NiImaqdxDll.IMAQdxWriteAttributes(session, null); ExceptionBuilder.CheckErrorAndThrow(status); }