|
|
|
@ -16,6 +16,8 @@ namespace UplayNameChecker
|
|
|
|
|
|
|
|
|
|
static async Task MainAsync()
|
|
|
|
|
{
|
|
|
|
|
Log.Info("UplayNameChecker v2 by VollRagm");
|
|
|
|
|
|
|
|
|
|
if (!File.Exists("names.txt"))
|
|
|
|
|
Log.Fatal("names.txt not found.");
|
|
|
|
|
|
|
|
|
@ -44,6 +46,8 @@ namespace UplayNameChecker
|
|
|
|
|
|
|
|
|
|
if (available)
|
|
|
|
|
File.AppendAllLines("availableNames.txt", new string[] { name });
|
|
|
|
|
|
|
|
|
|
await Task.Delay(200); //give the api a little bit to breate :)
|
|
|
|
|
}
|
|
|
|
|
Console.WriteLine();
|
|
|
|
|
Log.Info("Written results to availableNames.txt.");
|
|
|
|
|