Closed GoogleCodeExporter closed 9 years ago
Hi,
First of all, next time I suggest that you should open a new topic on
StackOverflow with google-api-dotnet-client tag.
Regarding your question - CustomsearchService inherits from BaseClientService.
BaseClientService contains ApiKey property which is set in the constructor by
the Initializer value.
So, If you want to set your ApiKey you should do the following:
BaseClientService.Initializer initializer = new BaseClientService.Initializer();
initializer.ApiKey = "YOUR_KEY";
// set other properties of initializer
CustomsearchService service = new CustomsearchService(initializer);
I'm closing this issue, please feel free to open it, if you need any additional
information.
Original comment by pele...@google.com
on 8 Apr 2013 at 12:23
Original issue reported on code.google.com by
Krez...@gmail.com
on 7 Apr 2013 at 1:48