private static void StartTorProccess()
        {
            Console.WriteLine("Starting tor...<br>\r\n");
            ServerFileManager.FileAppendTextWithDate(GetPathes.Get_LogPath() + @"\Log.txt", "Starting tor...<br>\r\n");
            var Process = new Process();

            Process.StartInfo.FileName               = TorPath;
            Process.StartInfo.Arguments              = "-f " + TorrcPath;
            Process.StartInfo.UseShellExecute        = false;
            Process.StartInfo.RedirectStandardOutput = true;
            Process.StartInfo.CreateNoWindow         = true;
            Process.StartInfo.WorkingDirectory       = TorBaseFolder;
            Process.StartInfo.RedirectStandardOutput = true;
            Process.Start();
            Process.PriorityClass = ProcessPriorityClass.BelowNormal;

            while (!Process.StandardOutput.EndOfStream)
            {
                WriteOutput(Process.StandardOutput.ReadLine());
            }
        }
 private static void WriteOutput(string data)
 {
     Console.WriteLine(data);
     ServerFileManager.FileAppendTextWithDate(GetPathes.Get_LogPath() + @"\Log.txt", data + "<br>\r\n");
 }