title: How to call a REST Web API for access token with these cURL commands - in C#
body: <p>I'm a little bit new to OAuth, but learning.  What I have is this tutorial I'm trying to follow.  I'm trying to follow the simple 3-line example under "Bio - retrieving biographical record data": <a href="https://members.orcid.org/api/tutorial-retrieve-data-public-api-curl-12-and-earlier" rel="nofollow">https://members.orcid.org/api/tutorial-retrieve-data-public-api-curl-12-and-earlier</a></p>
  
  <p>What I need to do though, is use a C# console program to do this instead of CURL, I imagine using the HttpClient namespace.  I have my own client id and client secret to use.  I'm trying to use this public API to get an access token to store wherever, then make calls to get XML data like this example does.  My problem is that I don't know how to convert their CURL calls to C# code.  I'm NOT using an ASP.NET website for this...this all needs to be done in a C# console program.</p>