I’m working on a program in Visual C#.NET and I need some help.
I need it to be able to take in some text through a text box, then somehow send that text to google, and bring back the resulting URLs (not the full results, just the URLs) and then display those in my program. How would I do that?
Use the
WebClientclass to send the query to Google and read the response.Alternatively, use a .NET library that interacts with the Google search API, like this one (this was just the first Google result).
There are also
RESTlibraries for .NET, if you go with the newer custom search.