public bool TryGetHostEntry( string hostNameOrAddress, out IPHostEntry? entry, out string? errorMessage )
Parameters
- hostNameOrAddress
- The host name.
- entry
- The entry if all was okey else this will be null.
- errorMessage
- The error if failed.
Return Value
true
if no errors, false
otherwise.