Dialogflow and C#. How do I get a response from an agent?

I want to write an app in C# where I can send a message to my bot and get a response. How to send a request and get a response from the Dialogflow bot?