I\'m writing C# code that uses the windows IP Helper API. One of the functions I\'m trying to call is \"GetBestInterface\" that takes a \'uint\' representation of an IP. Wha
System.Net.IPAddress ipAddress = System.Net.IPAddress.Parse("192.168.1.1"); byte[] bytes = ipAddress.GetAddressBytes(); for (int i = 0; i < bytes.Length ; i++) Console.WriteLine(bytes[i]);
Output will be 192 168 1 1