Skip to content

Instantly share code, notes, and snippets.

@ycaroafonso
Created December 16, 2013 22:12
Show Gist options
  • Save ycaroafonso/7995387 to your computer and use it in GitHub Desktop.
Save ycaroafonso/7995387 to your computer and use it in GitHub Desktop.
using DotNetXmlHttpRequest;
class Program
{
static void Main(string[] args)
{
XMLHttpRequest xml = new XMLHttpRequest();
xml.Open(XMLHttpRequest.EnumMethod.GET, "http://ycaro.net/");
xml.Send();
System.Console.Write(System.Text.RegularExpressions.Regex.Match(xml.responseText, "(.*)"));
System.Console.ReadLine();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment