ALMRestClient.ALMClient.ALMClient C# (CSharp) Method

ALMClient() public method

Construct with the url (just the https://something.saas.hp.com bit)
public ALMClient ( string url, string username, string password, string domain, string project, string version ) : System
url string Base url for ALM
username string username for login
password string password
domain string The domain to log into
project string The project to log into
version string The ALM version to use
return System
        public ALMClient(string url, string username, string password, string domain, string project, string version)
        {
            client = new RestClient((url + "/qcbin/").Replace(@"/qcbin//qcbin/", @"/qcbin/"));
            client.Authenticator = new HttpBasicAuthenticator(username, password);
            client.CookieContainer = new System.Net.CookieContainer();
            Domain = domain;
            Project = project;
            clientConfig = new ALMClientConfig(version);
        }

Same methods

ALMClient::ALMClient ( string url, string username, string password, string domain, string project ) : System