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/...

КОМЕНТАРІ • 24

  • @andreikhotko5206
    @andreikhotko5206 5 років тому

    For me it will be really interesting to watch the video about "how to get all available ip addresses in local network"

    • @ProgramWithBalaji
      @ProgramWithBalaji  5 років тому

      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.

    • @ProgramWithBalaji
      @ProgramWithBalaji  5 років тому

      Also, Thanks for sharing your comments

    • @ProgramWithBalaji
      @ProgramWithBalaji  5 років тому

      // 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();
      }

    • @ProgramWithBalaji
      @ProgramWithBalaji  5 років тому

      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.

    • @ProgramWithBalaji
      @ProgramWithBalaji  5 років тому

      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.

  • @allanurwelbekow3805
    @allanurwelbekow3805 3 роки тому

    Thank You very Much MY Friend :-)

  • @PraveenNaidu-cn2pf
    @PraveenNaidu-cn2pf Рік тому

    While I'm doing getting this I'm getting this error #The request was aborted: Could not create SSL/TLS secure channel.'

  • @njmust
    @njmust 4 роки тому

    Thanks