Checking IP Address in my cmd

Hey @Kuenzang

Hey You can either use it via code or by powershell too :slight_smile:

you have to use System.Net.NetworkInformation namespace then you can use:

Find below reference sample to ping a site either via website address or IPAddress

in below sample in Ipaddress variable you can either assign a website address or ip both will work :slight_smile:

and response will be like :slight_smile:

image
PingSample.xaml (6.6 KB)

You can check with status is success then ping is working otherwise not.

Let me know if you have any prob. :slight_smile:

Regards…!!
Aksh

3 Likes