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

Answer by SᴇM for how to separate/filter an output string and write the...

You can use Dns.GetHostEntry instead of manually calling external process: IPHostEntry hostInfo = Dns.GetHostEntry("example.com"); textbox1.Text = hostInfo.HostName; textbox2.Text =...

View Article


Answer by Konamiman for how to separate/filter an output string and write the...

Regular expressions can help you here. Here's how you could retrieve the name, for the address it would be similar: Regex.Match(text, @"Name: *(?<name>[^ ]+)").Groups["name"].Value

View Article


how to separate/filter an output string and write the separated data into...

So i have a button and two text boxes. I want to click a button, it will execute nslookup then i want to : -write the resolved hostname into one text box -write the resolved ip adress into next text...

View Article
Browsing latest articles
Browse All 3 View Live


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