Google Api key

Nov 10, 2008 at 5:11 PM
I want to use my own google key, but I can't find any key in the source code. Did I overlook?
Dec 19, 2008 at 12:55 PM
i get the same problem,
i tried
Gapi.Search.WebSearchOptions opt = new Gapi.Search.WebSearchOptions();
opt.CustomSearchEngineRef = "ABQIAAAAh-...." ;
but came no results, i think i'm doing sth wrong??
Coordinator
Dec 20, 2008 at 4:06 PM
To use Google CSE (Custom search engine) you should put your key in CustomSearchEngineUniqueId:
Gapi.Search.WebSearchOptions opt = new Gapi.Search.WebSearchOptions();
opt.CustomSearchEngineUniqueId= "ABQIAAAAh-...." ; // Here comes the 'cx' parameter in the CSE.

The 'CustomSearchEngineRef ' is for the reference site of the CSE (the 'cref' parameter of the CSE if it's used).