Стать уёбком это начать учить шарп на сервисе активации в 2 ночи
public string GetNumber(string Operator, string servise, int count)
{
string cmd = String.Format("&action=getNumber&country={0}&servi ce={1}&count={2}",
Operator,
servise,
count);
String getnum = Request(cmd);
string[] getnsplit = getnum.Split(':');
if (getnsplit.Count() > 1)
{
if (getnsplit[0] == "ACCESS_NUMBER")
{
Id_Get = getnsplit[1];
string phone = getnsplit[2];
Console.WriteLine(String.Format("id:{0}\nphone:{1} ", Id_Get, phone));
return phone;
}
else if (getnsplit[0] == "NO_NUMBER")
{
return "NO_NUMBER";
}
}
return "Fail";
}