Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 805 Bytes

README.md

File metadata and controls

35 lines (26 loc) · 805 Bytes

SpeedTest.Net

A simple https://speedtest.net and https://fast.com client to calculate download speed in multiple units. Made with love using .Net Core.

Install via nuget

Install-Package SpeedTest.NetCore -Version 2.1.0

Get a Server closest to your location

var server = await SpeedTestClient.GetServer();

Or Get a Server closest to the provided geo co-ordinates

var server = await SpeedTestClient.GetServer(37.0902, 95.7129);

Get Download Speed using the server

var speed = await SpeedTestClient.GetDownloadSpeed(server);

Or simply Get Download Speed using your location

var speed = await SpeedTestClient.GetDownloadSpeed();

If you like your results from fast.com use

var speed = await FastClient.GetDownloadSpeed();