示例#1
0
 /// <summary>
 /// Gets the given web page as a string of text.
 /// Throws an exception if the page cannot be loaded
 /// </summary>
 /// <param name="url">url of the web page to be loaded, must start with http://</param>
 /// <returns>web page as a single string of text</returns>
 public static string GetWebPageAsString(string url)
 {
     return(manager.GetWebPageAsString(url));
 }