title: How to call HTTPS web service method from a .net console application?
body: <p>I have an ASP.net web application.  It sits at <a href="https://www.example.com/Private" rel="nofollow">https://www.example.com/Private</a>.</p>
  
  <p>I would like to create a .net console application that calls a web method on my ASP.net web application at <a href="https://www.example.com/Private/DataCall" rel="nofollow">https://www.example.com/Private/DataCall</a>.</p>
  
  <p>How do I program my .net console application to securely call the web method over HTTPS?</p>
  
  <p>I have done this before in plain HTTP, but for this application, secure communication is essential.</p>