Class NetworkInterfaceHelper

Inheritance
System.Object
NetworkInterfaceHelper
Namespace: EPiServer.Licensing
Assembly: EPiServer.Licensing.dll
Version: 12.0.3
Syntax
public static class NetworkInterfaceHelper : Object

Methods

CollectIPs(Func<NetworkInterface, Boolean>, Func<IPAddress, Boolean>)

Declaration
public static List<string> CollectIPs(Func<NetworkInterface, bool> filterNetworkInterface, Func<IPAddress, bool> filterIPAddress)
Parameters
Type Name Description
System.Func<System.Net.NetworkInformation.NetworkInterface, System.Boolean> filterNetworkInterface
System.Func<System.Net.IPAddress, System.Boolean> filterIPAddress
Returns
Type Description
System.Collections.Generic.List<System.String>

CollectMacAddresses(Func<NetworkInterface, Boolean>)

Declaration
public static List<string> CollectMacAddresses(Func<NetworkInterface, bool> filterNetworkInterface)
Parameters
Type Name Description
System.Func<System.Net.NetworkInformation.NetworkInterface, System.Boolean> filterNetworkInterface
Returns
Type Description
System.Collections.Generic.List<System.String>