public string GetUserCookie(string logName, string pwd) { if (this._isOpen) { WebServiceHelper helper = new WebServiceHelper(this._bbsServiceUrl, ""); return helper.InvokeWebService("CheckLogin", new object[] { logName, pwd, this._servicePwd }).ToString(); } return string.Empty; }
public bool BBS_User_CheckIsExists(string logName) { if (this._isOpen) { WebServiceHelper helper = new WebServiceHelper(this._bbsServiceUrl, ""); return bool.Parse(helper.InvokeWebService("Exists", new object[] { logName }).ToString()); } return false; }
public string BBS_User_Reg(string logName, string pwd, string email, bool isLogin) { if (this._isOpen) { WebServiceHelper helper = new WebServiceHelper(this._bbsServiceUrl, ""); return helper.InvokeWebService("CreateUser", new object[] { logName, pwd, email, isLogin.ToString(), this._servicePwd }).ToString(); } return string.Empty; }
private int GetUserId(string logName) { if (this._isOpen) { WebServiceHelper helper = new WebServiceHelper(this._bbsServiceUrl, ""); return int.Parse(helper.InvokeWebService("GetUserID", new object[] { logName }).ToString()); } return -1; }