Files
WebScrapeApp/WebClientScraper/Program.cs
2021-08-02 12:41:02 +02:00

25 lines
537 B
C#

using System;
using System.Net;
using System.Threading.Tasks;
namespace WebClientScraper
{
class Program
{
static void Main(string[] args)
{
using var client = new WebClient();
client.DownloadStringCompleted += (sender, e) =>
{
Console.WriteLine(e.Result);
};
string url = "https://finansportalen.millistream.com/shares.php";
client.DownloadStringAsync(new Uri(url));
Console.ReadLine();
}
}
}