DNS가져오기1 [C#] DNS서버 구하기 [C#] DNS 서버 구하기 How to get DNS in C# using System.Net; using System.Net.NetworkInformation; private void showDnsServer() { NetworkInterface[] adapters = NetworkInterface.GetAllNetworkInterfaces(); ArrayList dnsAddrList = new ArrayList(); foreach (NetworkInterface adapter in adapters) { IPInterfaceProperties adapterProperties = adapter.GetIPProperties(); if (adapter.OperationalStatus == Operation.. 2019. 8. 29. 이전 1 다음