/// <summary>Sets the api key for further use.</summary>
 /// <param name="apiKey">The api key.</param>
 public void SetApiKey(string apiKey)
 {
     if (KeyUtilities.IsValid(apiKey))
     {
         this.V2Authorized = new FactoryForV2Authorized(this.CreateAuthorizedServiceClient(apiKey));
     }
     else
     {
         throw new ArgumentException("The api key didn't have the required format.", "apiKey");
     }
 }
 /// <summary>Sets the api key for further use.</summary>
 /// <param name="apiKey">The api key.</param>
 public void SetApiKey(string apiKey)
 {
     if (KeyUtilities.IsValid(apiKey))
     {
         this.V2Authorized = new FactoryForV2Authorized(this.CreateAuthorizedServiceClient(apiKey));
     }
     else
     {
         throw new ArgumentException("The api key didn't have the required format.", "apiKey");
     }
 }