yeni phyton öğreniorm da böyle kurcalıyorum dosyaları bu dosyayı phytonda çalıştırabilmek için düzenlermisiniz üstünde çalışabilmem için



pace Check_Hotmail
{
internal class Program
{
private static void Main(string[] args)
{
Console.OutputEncoding = Encoding.UTF8;
Console.ForegroundColor = ConsoleColor.White;
Console.WriteLine("    /|    //| |                           //   ) )                     /__  ___/                           ");
Console.WriteLine("   //|   // | |    ( )   __      ___     //___/ /   ___                  / /   ___      ___      _   __    ");
Console.WriteLine("  // |  //  | |   / / //   ) ) //___) ) / __  (   //   ) ) //   / /     / /  //___) ) //   ) ) // ) )  ) ) ");
Console.WriteLine(" //  | //   | |  / / //   / / //       //    ) ) //   / / ((___/ /     / /  //       //   / / // / /  / /  ");
Console.WriteLine("//   |//    | | / / //   / / ((____   //____/ / ((___( (      / /     / /  ((____   ((___( ( // / /  / /   ");
Console.WriteLine("-------------------------------Tool Check Hotmail Available By MineBay Team--------------------------------");
Thread.Sleep(5000);
Console.WriteLine("Nhập đường dẫn File có chứa Hotmail (*.txt) :");
string[] strArray = Regex.Split(System.IO.File.ReadAllText(Console.ReadLine()), "\n");
for (int index = 0; index < strArray.Length; ++index)
{
ServicePointManager.Expect100Continue = true;
ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
HttpWebRequest httpWebRequest = (HttpWebRequest) WebRequest.Create("https://signup.live.com/signup?username=" + strArray[index]);
httpWebRequest.AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate;
string end = new StreamReader(httpWebRequest.GetResponse().GetResponseStream()).ReadToEnd();
if (end.Contains("isAvailable"))
{
Console.ForegroundColor = ConsoleColor.Red;
Console.WriteLine("[ " + DateTime.Now.ToString("dddd, MM/dd/yyyy HH:mm:ss tt") + " ] DIE : " + strArray[index]);
using (TextWriter textWriter = (TextWriter) new StreamWriter("Hotmail Die.txt", true, Encoding.UTF8))
{
textWriter.Write(strArray[index]);
textWriter.WriteLine();
textWriter.Close();
}
}
else if (end.Contains("1062"))
{
Console.ForegroundColor = ConsoleColor.Red;
Console.WriteLine("[ " + DateTime.Now.ToString("dddd, MM/dd/yyyy HH:mm:ss tt") + " ] ERROR : " + strArray[index]);
using (TextWriter textWriter = (TextWriter) new StreamWriter("Hotmail Error.txt", true, Encoding.UTF8))
{
textWriter.Write(strArray[index]);
textWriter.WriteLine();
textWriter.Close();
}
}
else
{
Console.ForegroundColor = ConsoleColor.Green;
Console.WriteLine("[ " + DateTime.Now.ToString("dddd, MM/dd/yyyy HH:mm:ss tt") + " ] LIVE : " + strArray[index]);
using (TextWriter textWriter = (TextWriter) new StreamWriter("Hotmail Live.txt", true, Encoding.UTF8))
{
textWriter.Write(strArray[index]);
textWriter.WriteLine();
textWriter.Close();
}
}
}
Console.ForegroundColor = ConsoleColor.White;
Console.WriteLine("[ " + DateTime.Now.ToString("dddd, MM/dd/yyyy HH:mm:ss tt") + " ] DONE !");
while (true)
;
}
}
}