25 lines
537 B
C#
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();
|
|
}
|
|
}
|
|
}
|