11 references to NetworkInterface
Microsoft.Extensions.ServiceDiscovery.Dns (2)
Resolver\NetworkInfo.cs (2)
16foreach (NetworkInterface nic in NetworkInterface.GetAllNetworkInterfaces())
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\Devices\Network.Availability.vb (1)
40Return NetInfoAlias.NetworkInterface.GetIsNetworkAvailable()
Microsoft.VisualBasic.Tests (1)
Microsoft\VisualBasic\Devices\NetworkTests.cs (1)
12Assert.Equal(System.Net.NetworkInformation.NetworkInterface.GetIsNetworkAvailable(), network.IsAvailable);
netstandard (1)
netstandard.cs (1)
1214[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.NetworkInformation.NetworkInterface))]
Sockets.BindTests (2)
src\Servers\Kestrel\shared\test\TransportTestHelpers\IPv6ScopeIdPresentConditionAttribute.cs (1)
24return NetworkInterface.GetAllNetworkInterfaces()
src\Servers\Kestrel\test\BindTests\AddressRegistrationTests.cs (1)
1179return NetworkInterface.GetAllNetworkInterfaces()
Sockets.FunctionalTests (1)
src\Servers\Kestrel\shared\test\TransportTestHelpers\IPv6ScopeIdPresentConditionAttribute.cs (1)
24return NetworkInterface.GetAllNetworkInterfaces()
System (1)
src\libraries\shims\System\ref\System.cs (1)
706[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.NetworkInformation.NetworkInterface))]
System.Net (1)
System.Net.cs (1)
25[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.NetworkInformation.NetworkInterface))]
System.Net.NetworkInformation (1)
artifacts\obj\System.Net.NetworkInformation\Debug\net10.0\System.Net.NetworkInformation.notsupported.cs (1)
440public static System.Net.NetworkInformation.NetworkInterface[] GetAllNetworkInterfaces() { throw new System.PlatformNotSupportedException(System.SR.SystemNetNetworkInformation_PlatformNotSupported); }