PrepAway - Latest Free Exam Questions & Answers

Which code should you use?

You have an application that accesses a Web server named Server1.
You need to download an image named Imagel.jpg from Server1 and store the image locally as Filel.jpg.
Which code should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
Option A

B.
Option B

C.
Option C

D.
Option D

One Comment on “Which code should you use?

  1. cristis says:

    C works fine.
    WebClient client = new WebClient();
    client.DownloadFile(“https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png”, “C:\\Temp\\img.jpg”);
    client.Dispose();




    3



    0

Leave a Reply