Skip to content

DenganID/DenganID.Networking.RemotePing

Repository files navigation

Remote Ping

Synopsis

RemotePing (netstandard2.0) is C# library for pinging host.

Code Example

Console App

using System;
using DenganID.Networking.RemotePing;
namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            var host = "8.8.8.8";
            var ping = new Ping();
            var isAlive = ping.IsAlive(host);
            Console.WriteLine(host+ " alive: " + isAlive);
        }
    }
}

Installation

Package Manager

Install-Package DenganID.Networking.RemotePing -Version 1.0.1

Dotnet CLI

dotnet add package DenganID.Networking.RemotePing

PackageReference

<PackageReference Include="DenganID.Networking.RemotePing" Version="1.0.1" />

Contributors

List of contribution

You can always contribute to this package and create pull requests. Just give me a note

License

This package is released under the MIT License (MIT). Please read LICENSE.md

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published