C\

From , 3 Years ago, written in C#, viewed 244 times.
URL https://pastebin.vip/view/ee0b86d2
  1. using System.Net;
  2. using System.Net.Sockets;
  3. string name = Dns.GetHostName();
  4. var ipv4 = Dns.GetHostEntry(name).AddressList.Where(i => i.AddressFamily == AddressFamily.InterNetwork).FirstOrDefault();
  5. textBox1.Text =string.Format("{0}:{1}",name,ipv4.ToString());
  6. //csharp/6978

Reply to "C\"

Here you can reply to the paste above

captcha

https://burned.cc - Burn After Reading Website