/// <summary> /// Download either a text or binary file from a URL. /// The URL's headers will be scanned to determine the /// type of tile. /// </summary> /// <param name="remoteURL">The URL to download from.</param> /// <param name="localFile">The local file to save to.</param> static void Main(string[] args) { if (args.Length != 1) { Console.WriteLine("Usage: Recipe4_4 [URL to Monitor]"); } else { MonitorSite d = new MonitorSite(); d.Monitor(new Uri(args[0])); } }