title: How do I store the LinkedIn API AccessToken so I don't have to re-enter credentials every time I use the LinkedIn API?
body: <p>I am writing an app to mine information from <a href="http://linkedin.com" rel="noreferrer">LinkedIn</a>.
  I've <a href="http://developer.linkedin.com/thread/1190" rel="noreferrer">only found one code sample</a> thus far on oAuth. I'm having trouble understanding the workflow of oAuth, for example:</p>
  
  <ol>
  <li>The Example asks for the <code>Username/Password</code> combination to log into LinkedIn and return a token, but in my case, I will always use the same LinkedIn Account.</li>
  </ol>
  
  <p>Since I'm always going to be using the same user to access the LinkedIn API, is there a way to do it so I don't have to re-enter the user name and password for every access request? The facebook API allows me to set the Token to not expire, thereby allowing me to save this token as an <code>Attribute</code> inside my application).</p>
  
  <p>The idea is :</p>
  
  <ol>
  <li>Get a token for a certain LinkedIn Account</li>
  <li>Store it in my app hardcoded, since this is the only account I will be using the retrieve information from LinkedIn.</li>
  <li>Make API Calls using this token, everytime I need it</li>
  <li>Parse the JSON/XML file</li>
  </ol>
  
  <p>How do I do this in C#?</p>