title: Is there an API call that will show me the location of a hosts file on given system?
body: <p>I mean file that is actually in use of user running the program.</p>
  
  <p>Or must I manually check possible paths as in this table: <a href="https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system" rel="nofollow">https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system</a></p>