public C4CHttpClient CreateC4CHttpClient(string hostname, string username, string password) { return(ClientFactory.CreateC4CHttpClient(hostname, new NetworkCredential(username, password))); }
public C4CHttpClient CreateC4CHttpClient(string hostname, INetworkCredentialHandler networkCredentialHandler) { return(ClientFactory.CreateC4CHttpClient(hostname, networkCredentialHandler.GetCredentials())); }