Converts a string representation of an IP address in dotted-quad notation, to a System.Net.IPAddress instance.
- ipString
- A string in dotted-quad notation containing the IP address to convert.
A new System.Net.IPAddress instance that represents the address specified in ipString.
Type Reason ArgumentNullException ipString is null. FormatException ipString is not a valid IP address.
Note:An example of a string in dotted-quad notation is "127.0.0.1".
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0