C# Class withSIX.Core.Infra.Services.PingProvider

Inheritance: IPingProvider, IEnableLogging, IInfrastructureService
Datei anzeigen Open project: SIXNetworks/withSIX.Desktop Class Usage Examples

Public Methods

Method Description
PingAsync ( string hostName, int count = 3 ) : Task

Private Methods

Method Description
Ping ( string hostName, int count = 3 ) : long
TryPing ( string hostName, Ping p, ICollection pings ) : bool
TryPingAsync ( string hostName, Ping p, ICollection pings ) : Task

Method Details

PingAsync() public method

public PingAsync ( string hostName, int count = 3 ) : Task
hostName string
count int
return Task