title: C# - Services how to set the start parameters
body: <p>I am currently working on a windows service (which starts so that is a good thing).
  The big question is how can I get parameters in the start parameter field (without doing it manual ofcourse).</p>
  
  <p>So what I would like to see is the following. Upon installation of the service I would like it if the following happens.</p>
  
  <p>The services gets installed and the start parameters are set.</p>
  
  <p>How would one do such a thing (already been browsing StackOverflow but it doesn't comply with what I want) </p>
  
  <p><img src="https://i.stack.imgur.com/V30Ak.png" alt="enter image description here"></p>
  
  <p>The reason I ask the question is the following: The service is part of a communication layer between GUI and a receiving backend. If the backend location differs (e.g. another IP address) the service needs to have the new address accordingly.</p>
  
  <p>If you would like to have some more info please ask (don't down the post if something is not in order 'just ask :)')</p>
  
  <p>Thanks in advance</p>