I'm very happy 😁 to contribute with #opensource community by launching my first #NugetPackage, this solution emerge from the need of a project in which I work on. I hope it can be of help.
This package can be used to verify your connection to a point or service on a local network or via the Internet.
It is more than a simple GET request, because first it checks the status of your network, if it does not have connectivity it does not run the request decreasing the response time, if it has connectivity it run the request to your service to check its status.
Please note that a device can connect to an access point and will have connectivity, but this is not a claim that it will be online with your service.
Easy to install, easy to use.
https://www.nuget.org/packages/ConnectionDetection/