public void Login(string[] stringParams, CookieContainer cookieContainer, X509Certificate2Collection X509) { StringBuilder sb = new StringBuilder(); sb.Append("{"); sb.AppendFormat("'{0}':'{1}',", "account", stringParams[0]); sb.Append("}"); HttpParams httpParams = new HttpParams(); //HttpParams httpParams1 = GetPostParamsFromXML.getParams("LoginAndRegist.xml", "Login", null); var htmlStr1 = _httpStep.GetRequestString(httpParams, sb.ToString(), ref cookieContainer, X509); }