title: Using google translate api in .net winform
body: <p><strong>I'm trying to use Google translation api for .net in winforms:</strong></p>
  
  <pre><code>string DWord = "mesa";
  TranslateClient Dclient = new TranslateClient("http://www.XXXXX.com");
  //Dclient.ApiKey = "YYYYY";
  //Dclient.UserIP = "ZZZZZ";
  string translated = Dclient.Translate(DWord, "es", "en");
  MessageBox.Show("Translation: " + translated);
  Console.WriteLine(translated);
  </code></pre>
  
  <p>I get this error message:
  [response status:403]Please use Translate v2.  See <a href="http://code.google.com/apis/language/translate/overview.html" rel="nofollow">http://code.google.com/apis/language/translate/overview.html</a></p>
  
  <p>I already opened the Google account and gave my credit card info... but these 2 lines gave compiler error:
              //Dclient.ApiKey = "YYYYY";
              //Dclient.UserIP = "ZZZZZ";</p>
  
  <p>Error   3   'Google.API.Translate.TranslateClient' does not contain a definition for 'ApiKey' and no extension method 'ApiKey' accepting a first argument of type 'Google.API.Translate.TranslateClient' could be found (are <code>enter code here</code>you missing a using directive or an assembly reference?)<br>
  even though the library is there and intellisense is showing me the property.</p>
  
  <p>What else can I do?</p>