Quantcast
Channel: how to separate/filter an output string and write the separated data into different text boxes? - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Answer by SᴇM for how to separate/filter an output string and write the separated data into different text boxes?

$
0
0

You can use Dns.GetHostEntry instead of manually calling external process:

IPHostEntry hostInfo = Dns.GetHostEntry("example.com");
textbox1.Text = hostInfo.HostName;
textbox2.Text = hostInfo.AddressList[yourIndex].ToString();

Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>