Determine if Absolute or Relative URL
bool IsAbsoluteUrl(string url)
{
Uri result;
return Uri.TryCreate(url, UriKind.Absolute, out result);
}
For some reason a couple of good answers were deleted by their owners:
Via @Chamika Sandamal
Uri.IsWellFormedUriString(url, UriKind.Absolute)
and
Uri.IsWellFormedUriString(url, UriKind.Relative)
The UriParser and implementations via @Marcelo Cantos