static private ValidRemoteSite ( |
||
website | ||
return | bool |
static bool ValidRemoteSite(Uri website)
{
if (website != null && website.ToString().Length > 0 &&
(website.ToString().StartsWith("http://") || website.ToString().StartsWith("https://")))
{
return true;
}
return false;
}