public static void SetMessageLevel(MethodID messageMethod = MethodID.MESS_METHOD_GENERAL_ID, LevelID messageLevel = LevelID.MESS_LEVEL_GENERAL) { //Call the version 6 and 7 set message level first, if the file is 6 then the ZSetMessageLevel will not work, and we can still use MethodIDs for 7. DSS.ZSet("mlvl", "", (int)messageLevel); DSS.ZSetMessageLevel((int)messageMethod, (int)messageLevel); }