Class IPAddressUtility
Provides utility methods to work with the
Inherited Members
Namespace: Swan.Net
Syntax
public static class IPAddressUtility
Methods
TryParse(String, out IPAddress)
Tries to convert the string representation of an IP address
into an instance of
This method works the same way as
Declaration
public static bool TryParse(string str, out IPAddress address)
Parameters
Type | Name | Description |
---|---|---|
String | str | The string to be converted. |
IPAddress | address | When this method returns true,
an instance of |
Returns
Type | Description |
---|---|
Boolean | true if the conversion was successful; otherwise, false. |