Ejemplo n.º 1
0
 public C4CHttpClient CreateC4CHttpClient(string hostname, string username, string password)
 {
     return(ClientFactory.CreateC4CHttpClient(hostname, new NetworkCredential(username, password)));
 }
Ejemplo n.º 2
0
 public C4CHttpClient CreateC4CHttpClient(string hostname, INetworkCredentialHandler networkCredentialHandler)
 {
     return(ClientFactory.CreateC4CHttpClient(hostname, networkCredentialHandler.GetCredentials()));
 }