Class Url
Provides helpers for validating URL strings.
public class Url
- Inheritance
-
Url
- Inherited Members
Methods
IsUrl(string)
Determines whether a string can be parsed as an absolute URL.
public static bool IsUrl(string urlAsString)
Parameters
urlAsStringstringThe string to validate.
Returns
- bool
truewhen the string is a non-empty absolute URL; otherwise,false.