public static void SetFlag(UCL_ConsoleFlags flags, bool val)
        {
            var clearMethod = Entries.GetMethod("SetConsoleFlag", System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.Public);

            clearMethod.Invoke(Entries, new object[] { (int)flags, val });
        }
 public static bool HasFlag(UCL_ConsoleFlags flags)
 {
     return((consoleFlags & (int)flags) != 0);
 }