Class IPAddressExtensions
Inheritance
System.Object
IPAddressExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Phoenix.Devices
Assembly: Phoenix.Abstractions.Devices.dll
Syntax
public static class IPAddressExtensions
Methods
View SourceNetworkPingAsync(IPAddress)
Ping this device via network ping.
Declaration
public static async Task<bool> NetworkPingAsync(this IPAddress ip)
Parameters
Type | Name | Description |
---|---|---|
System.Net.IPAddress | ip | The device IP address to ping. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> | True if the device replied. Otherwise false. |