Example #1
0
        public static CouchClient GetCouchClient(BigIntegerRSAPublicKey serverPublicKey, string host, int port, X509Certificate2 clientCert)
        {
            var configWebRequest = new ThaliConfigWebRequest(serverPublicKey, clientCert);

            return(new CouchClient(
                       host, port, null, null, true, AuthenticationType.Cookie, configWebRequest));
        }
 public static CouchClient GetCouchClient(BigIntegerRSAPublicKey serverPublicKey, string host, int port, X509Certificate2 clientCert)
 {
     var configWebRequest = new ThaliConfigWebRequest(serverPublicKey, clientCert);
     return new CouchClient(
         host, port, null, null, true, AuthenticationType.Cookie, configWebRequest);
 }