Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
 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;
 }
Esempio n. 4
0
 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;
 }