Example #1
0
        static void DAnalyze(BiometricData Unknown, BiometricData Rec)
        {
            Process Analyze = new Process();

            Analyze.StartInfo.FileName               = "DataAnalyzer.exe";
            Analyze.StartInfo.Arguments              = "/c " + Unknown.ToString() + " " + Rec.ToString(); // Note the /c command (*)
            Analyze.StartInfo.UseShellExecute        = false;
            Analyze.StartInfo.RedirectStandardOutput = true;
            Analyze.StartInfo.RedirectStandardError  = true;
            Analyze.Start();
            //* Read the output (or the error)
            string output = Analyze.StandardOutput.ReadToEnd();
            ///// Returns True or False for if data mattches///
            string Err = Analyze.StandardError.ReadToEnd();

            TOPRINT += Err + Environment.NewLine;
            Analyze.WaitForExit();
        }