05/06/2015 by Nitesh

How To Get Public IP Address Using C#

Friends, In this post, we will see how can we get public IP Address of a computer using C#. We will make use of WebRequest class to make a call to the server that returns the IP address of the machine that made the request. Here’s the code snippet that does this – static string…

Continue Reading »