How to Find the Size of the HTTP Resource Being Fetched

added by Paul Wheeler
1/24/2018 3:49:32 PM

1 Kicks, 225 Views

There are cases in which we might want to warn the user before an attempt is made to download a large file, or we might simply be interested to know its size before downloading. In C#, we use the HttpWebRequest class to download objects from an URL.