How to using  IPAddress.Parse Method This should  work using System.Net.IPAddress. ; Example: The number of parts (each part is separated by a period) in ipString determines how the IP address is constructed. A one part address is stored directly in the network address. A two part address, convenient for specifying a class...