W
W
WingedFlame2012-10-28 18:50:17
Domain Name System
WingedFlame, 2012-10-28 18:50:17

Change DNS programmatically in Windows

Actually, the question is how to programmatically change the DNS of all network connections on a computer? If you change the value in the registry, it does not “cling” right away, it turns out crooked through netsh. I would like a more reliable way, preferably in C / C ++.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
verwolfdotss, 2012-10-28
@verwolfdotss

Search by WMI + Win32_NetworkAdapterConfiguration

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question