hi …
am asp.net developer
i use this class for api
http://wiki.mikrotik.com/wiki/API_in_C_Sharp
the login page always return : !trap: cannot login
public bool Login(string username, string password)
{
Send("/login", true);
string hash = Read()[0].Split(new string[] { "ret=" }, StringSplitOptions.None)[1];
Send("/login");
Send("=name=" + username);
Send("=response=00" + EncodePassword(password, hash), true);
if (Read()[0] == "!done")
{
return true;
}
else
{
return false;
}
}
am sure the username and the password is correct
plz Help …