BrowserStack.BrowserStack.BrowserStack C# (CSharp) Method

BrowserStack() public method

public BrowserStack ( string username, string password ) : System
username string
password string
return System
    public BrowserStack(string username, string password)
    {
      if (string.IsNullOrEmpty(username))
        throw new ArgumentNullException("username");
      if (string.IsNullOrEmpty(password))
        throw new ArgumentNullException("password");

      authToken = Convert.ToBase64String(Encoding.ASCII.GetBytes(username + ":" + password));
    }