Download file from URL to a string May 1, 2023 by Tarik string contents; using (var wc = new System.Net.WebClient()) contents = wc.DownloadString(url);