How do i change the hosts file in a windows program?

Viewed 25658

How would a program in C++/ C / C# program change the C:\Windows\System32\drivers\etc\hosts file content in windows? I know this sounds like phishing, honestly not.

6 Answers
Related