public void 登录(string appid) { var __登录参数 = string.Format("appid={0}, work_dir = .", appid); var __结果 = Dll在线.MSPLogin(string.Empty, string.Empty, __登录参数); if (__结果 != (int)ErrorCode.MSP_SUCCESS) { throw new ApplicationException("登录失败! 错误码: " + __结果); } }
public int MSPLogin(string user, string password, string configs) { return(Dll在线.MSPLogin(user, password, configs)); }