S
- Joined
- Sep 6, 2020
- Messages
- 2,470
- Reaction score
- 1,626
Code:
string accountName = "";
bool accFound = false;
WebClient client = new WebClient();
client.Headers.Add("user-agent", "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36");
string[] download = client.DownloadString(getLink()).Split(new string[] { Environment.NewLine, "\n", "\"r" }, StringSplitOptions.None);
foreach (string user in download)
{
if (user.StartsWith("?bakim"))
{
MessageBox.Show("Client şuan bakımda!\nLütfen sonra tekrar deneyin.","Client");
this.Close();
return;
}
if (user.StartsWith("#")) continue;
if (user.Contains("@"))
{
string cpuId = user.Split('@')[1];
if (cpuId == uniqueId)
{
string username = user.Split('@')[0];
accountName = username;
accFound = true;
}
}
}
if (accFound)
{
this.logMessage.Text = "Account Found \n";
this.logMessage.Left = Width / 2 - logMessage.Width / 2;
this.accName.Text = accountName;
this.accName.Left = Width / 2 - accName.Width / 2;
} else
{
accFound = false;
Clipboard.SetText(uniqueId);
MessageBox.Show("Hesap bulunamadi. Eğer satın aldıysan bu kodu kişiye gönder. " + uniqueId);
//test
}