public bool Login(string ip, ushort port, string username, string password) { m_api.SetHostAddress("123.161.206.213", 8383); m_loginInfo = new TapAPITradeLoginAuth(); m_loginInfo.UserNo = username; m_loginInfo.Password = password; m_loginInfo.ISModifyPassword = '******'; return(0 == m_api.Login(m_loginInfo)); }
public bool Login(string ip, ushort port, string username, string password) { m_api.SetHostAddress(ip, port); TapAPITradeLoginAuth loginInfo = new TapAPITradeLoginAuth(); loginInfo.UserNo = username; loginInfo.Password = password; loginInfo.ISDDA = 'N'; loginInfo.ISModifyPassword = '******'; return(0 == m_api.Login(loginInfo)); }
public bool Login(string ip, ushort port, string username, string password) { m_api.SetHostAddress("123.161.206.213", 6060); TapAPITradeLoginAuth loginInfo = new TapAPITradeLoginAuth(); loginInfo.UserNo = username; loginInfo.Password = password; loginInfo.ISModifyPassword = '******'; loginInfo.ISDDA = 'N'; var t = m_api.Login(loginInfo); return(0 == t); }