Пример #1
0
        public void DownloadAllTest()
        {
            var wc = new WebClient();

            wc.DownloadFile(image.Abstract(), "abstract.jpg");
            wc.DownloadFile(image.Animals(), "animals.jpg");
            wc.DownloadFile(image.Business(), "business.jpg");
            wc.DownloadFile(image.Cats(), "cats.jpg");
            wc.DownloadFile(image.City(), "city.jpg");
            wc.DownloadFile(image.Food(), "food.jpg");
            wc.DownloadFile(image.Nightlife(), "nightlife.jpg");
            wc.DownloadFile(image.Fashion(), "fashion.jpg");
            wc.DownloadFile(image.People(), "people.jpg");
            wc.DownloadFile(image.Nature(), "nature.jpg");
            wc.DownloadFile(image.Sports(), "sports.jpg");
            wc.DownloadFile(image.Technics(), "technics.jpg");
            wc.DownloadFile(image.Transport(), "transport.jpg");
        }
Пример #2
0
 public static string Abstract(int width, int height, System.Boolean randomize, System.Boolean https) => Images.Abstract(width, height, randomize, https);