NetworkInterface.Supports Method (NetworkInterfaceComponent)

 

Gets a Boolean value that indicates whether the interface supports the specified protocol.

Namespace:   System.Net.NetworkInformation
Assembly:  System (in System.dll)

abstract Supports : 
        networkInterfaceComponent:NetworkInterfaceComponent -> bool
override Supports : 
        networkInterfaceComponent:NetworkInterfaceComponent -> bool

Return Value

Type: System.Boolean

true if the specified protocol is supported; otherwise, false.

The following code example displays statistics for IPV4 interfaces on the local computer.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: