Created
July 26, 2012 12:54
-
-
Save halgari/3181861 to your computer and use it in GitHub Desktop.
example image downloader with global scope
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class ImageDownloader | |
{ | |
public static string Server = "http://foo.bar.com/images"; | |
public static GetImage(string id) | |
{ | |
return DownloadURL(url + "/" + id); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment