title: Is there a way to overcome antivirus blocking hosts file with c#?
body: <p>So I have Avira installed on my device. I need programmatically change 'hosts' file. And trying to do so, Avira shows that the file is blocked and I'm getting an exception that the access to the file is denied. Is there a way to overcome this antivirus restriction with C#? </p>
  
  <p>I don't want to delete or disable antivirus. </p>