17.247. Class LocalIpFinder

Namespace: ArmoniK.Core.Common.Utils
Assembly: ArmoniK.Core.Common.dll

Helper to get local IP address.

[PublicAPI]
public class LocalIpFinder

17.247.1. Inheritance

objectLocalIpFinder

17.247.2. Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

17.247.3. Methods

17.247.3.1. LocalIpv4Address(NetworkInterfaceType)

Get local IPv4 address from a network interface.

public static string LocalIpv4Address(NetworkInterfaceType type = NetworkInterfaceType.Ethernet)

17.247.3.1.1. Parameters

type NetworkInterfaceType

Interface type from which to get the IP.

17.247.3.1.2. Returns

string

representing the IP.