Method TryParse
TryParse(string, ushort, out NetworkEndpoint, NetworkFamily)
Declaration
public static bool TryParse(string address, ushort port, out NetworkEndpoint endpoint, NetworkFamily family = NetworkFamily.Ipv4)
Parameters
| Type | Name | Description |
|---|---|---|
| string | address | |
| ushort | port | |
| NetworkEndpoint | endpoint | |
| NetworkFamily | family |
Returns
| Type | Description |
|---|---|
| bool |