title: How do you find out the .NET version of a Windows service?
body: <p>There are a lot of questions here about finding out what .NET framework is installed. <strong>I know that I have upto .NET v4.6.1 installed.</strong></p>
  
  <p><strong>I want to find out what version of .NET a service is built on.</strong> </p>
  
  <p>Let's say I have a service (XYZ.exe) installed of .NET v2.0. I make a change to the code and produce another executable of the same name <strong>but with .NET v4.6.1</strong> and replace the existing executable (after stopping the service). When I re-start the service, will the service use the new executable (.NET v4.6.1) or does it have a pre-loaded code of the old executable (.NET v2.0) which it uses?</p>