Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class NetworkInterfaceHelper

Inheritance
System.Object
NetworkInterfaceHelper
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Licensing
Assembly: EPiServer.Licensing.dll
Version: 11.20.7
Syntax
public static class NetworkInterfaceHelper

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>