title: Storing C# Service Settings in Windows & Mono
body: <p>I'm writing a C# service that I want to be able to use on Windows and Mono. I've just started experimenting with Mono and am trying to determine the best way to store settings to control the service that works for both Windows and Mono.</p>
  
  <ol>
  <li><p>Settings file where service is installed</p>
  
  <ul>
  <li>Pros: Same code for each platform, easy to find for editing </li>
  <li>Cons: Permissions, Windows probably won't like writing to the file</li>
  </ul></li>
  <li><p>Settings file in platform storage (%APPDATA, /etc, ...)</p>
  
  <ul>
  <li>Pros: Will have permissions, easier to find for editing</li>
  <li>Cons: More coding required to handle each platform</li>
  </ul></li>
  <li><p>Small database (SQLite maybe?)</p>
  
  <ul>
  <li>Pros: Easier to write code to store and retrieve settings</li>
  <li>Cons: Not easy to edit manually, same problem of where to store</li>
  </ul></li>
  </ol>
  
  <p>Which do you think is the best, or do you have a better suggestion?<br/>
  I will also probably be writing a command line client to allow for easier changing of settings, will this change how settings should be stored?</p>