public static string DownloadHtml(string fullurl) { DownloadContent content = downloadUrl(fullurl); if (content == null) { return(string.Empty); } else { return(content.getString()); } }
public static string DownloadCss(string fullurl) { DownloadContent content = downloadUrl(fullurl); if (content == null) { return(string.Empty); } if (content.ContentType.Contains("css")) { return(content.getString()); } else { return(string.Empty); } }