private static bool ContainsMissed(string Line)
        {
            if (Multithread)
            {
                return(Missed.Contains(Line));
            }

            PipeWriter.Write((byte)PipeCommands.FindMissed);
            PipeWriter.Write(Line);
            PipeWriter.Flush();
            return(PipeReader.ReadByte() == (byte)PipeCommands.True);
        }
        private static bool ValidateMask(string String)
        {
            if (Multithread)
            {
                string[] Result = (from x in MskRld.Keys where MaskMatch(x, String) select x).ToArray();
                if (Result.Length > 0)
                {
                    return(true);
                }
                return(false);
            }

            PipeWriter.Write((byte)PipeCommands.ChkMask);
            PipeWriter.Write(String);
            PipeWriter.Flush();

            return(PipeReader.ReadByte() == (byte)PipeCommands.True);
        }
        private static bool ContainsKey(string Line, bool EnforceAtualDatabase = false)
        {
            if (Multithread)
            {
                if (StrRld.ContainsKey(Line))
                {
                    return(true);
                }

                if (EnforceAtualDatabase)
                {
                    return(false);
                }

                return((from x in Databases where x.ContainsKey(Line) select x).Count() > 0);
            }

            PipeWriter.Write((byte)PipeCommands.FindReload);
            PipeWriter.Write((byte)(EnforceAtualDatabase ? PipeCommands.True : PipeCommands.False));
            PipeWriter.Write(Line);
            PipeWriter.Flush();
            return(PipeReader.ReadByte() == (byte)PipeCommands.True);
        }