Tag Archives: computer ip

Get Local Computer IP Address using GetHostEntry in C#

If you are running .Net framework 4 and want to get IP address of local machine using C# code then just make following function which will return you local machine ip address. using System.Net; private string GetLocalIP() { IPAddress[] IPAddList … Continue reading