J
Jason
Hi guys,
Is there a class/method that will check that a string is a legal FQDN
without trying to look up the host?
I want to allow an administrator to configure a destination to be either an
IP address or FQDN. I can check for valid IP addresses using
IPAddress.TryParse() but so far the only way to check for a FQDN is using
regular expressions.
Cheers for any help you can provide,
Jason.
Is there a class/method that will check that a string is a legal FQDN
without trying to look up the host?
I want to allow an administrator to configure a destination to be either an
IP address or FQDN. I can check for valid IP addresses using
IPAddress.TryParse() but so far the only way to check for a FQDN is using
regular expressions.
Cheers for any help you can provide,
Jason.