/// <summary>
        /// The main entry point for the program.
        /// </summary>
        /// <param name="args">Program arguments.</param>
        static void Main(string[] args)
        {
            AuthDownloadURL d = new AuthDownloadURL();

            if (args.Length != 4)
            {
                d.Download(new Uri("https://www.httprecipes.com/1/5/secure/"),
                           "test.html",
                           "testuser",
                           "testpassword");
            }
            else
            {
                d.Download(new Uri(args[0]), args[1], args[2], args[3]);
            }
        }
        /// <summary>
        /// The main entry point for the program.
        /// </summary>
        /// <param name="args">Program arguments.</param>
        static void Main(string[] args)
        {
            AuthDownloadURL d = new AuthDownloadURL();
            if (args.Length != 4)
            {
                d.Download(new Uri("https://www.httprecipes.com/1/5/secure/"),
                    "test.html",
                    "testuser",
                    "testpassword");
            }
            else
            {

                d.Download(new Uri(args[0]), args[1], args[2], args[3]);
            }
        }