First, create a WinForms application in Visual Studio. Click on button and write the code below. Change YOUR_URL and your_page. This code block will post our params same as HTML forms. Here is our your_page.php You will see response from your_page.php when you submit your form from our C# application.