Responsive Julius Version1
This commit is contained in:
9
Class.cs
Normal file
9
Class.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
string remoteUri = "http://www.contoso.com/library/homepage/images/";
|
||||
string fileName = "ms-banner.gif", myStringWebResource = null;
|
||||
// Create a new WebClient instance.
|
||||
WebClient myWebClient = new WebClient();
|
||||
// Concatenate the domain with the Web resource filename.
|
||||
myStringWebResource = remoteUri + fileName;
|
||||
Console.WriteLine("Downloading File \"{0}\" from \"{1}\" .......\n\n", fileName, myStringWebResource);
|
||||
// Download the Web resource and save it into the current filesystem folder.
|
||||
myWebClient.DownloadFile(myStringWebResource, fileName);
|
||||
Reference in New Issue
Block a user