C# - How to get your Public IP Address?
Вставка
- Опубліковано 27 сер 2024
- C# - Convert IP Address to Location - • C# - Convert IP Addres...
C# - Json Parsing - • C# Tutorial - How to c...
C# - Geocoding and Complex JSON Parsing - • C# - API Consumption a...
C# - Language Translator and JSON Parsing - • C# Tutorial - Language...
C# - JSON Parsing - Complete Guide - • Complete JSON Guide - ...
Node JS - How to Track Location Details of your IP Address? - • Node JS - How to Track...
-----------------------------------------------------------------------------------------------------------
Please Subscribe to the Channel and leave a Comment below!
My Udemy Profile: www.udemy.com/...
My Udemy Courses:
Learn all about JSON from www.udemy.com/...
** Free - Learn how to deploy your local website to Heroku with Database Connection from www.udemy.com/...
For me it will be really interesting to watch the video about "how to get all available ip addresses in local network"
Sure Andrei,
I'll create a tutorial on that too. Thanks for spending time on my tutorial. Meet you soon in the video that you requested.
Also, Thanks for sharing your comments
// The code that is used to get your local ip address
public static string GetLocalIPAddress()
{
var host = Dns.GetHostEntry(Dns.GetHostName());
var builder = new System.Text.StringBuilder();
foreach (var ip in host.AddressList)
{
if (ip.AddressFamily == AddressFamily.InterNetwork)
{
builder.Append(ip.ToString() + " - " + Dns.GetHostEntry(ip.ToString()).HostName + ",
");
}
}
return builder.ToString();
}
Hi Andrei,
I think you are asking about how to get up address of all the individual machines that are connected to the same network. Am I correct? If yes, then I will create a series of videos on that. Because, to achieve that you want to know some basic stuff. I'm sure it will take some time for me record a video on all of that.
But, I'll give you one special offer. If you want me to teach the topic that you want, then I can take a private session to you. If you don't want that, wait for me to upload a video on that.
Thank You very Much MY Friend :-)
While I'm doing getting this I'm getting this error #The request was aborted: Could not create SSL/TLS secure channel.'
Thanks