NetworkInterface.InterfaceAddresses Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get a List of all or a subset of the InterfaceAddresses
of this network interface.
public System.Collections.Generic.IList<Java.Net.InterfaceAddress>? InterfaceAddresses { [Android.Runtime.Register("getInterfaceAddresses", "()Ljava/util/List;", "")] get; }
[<get: Android.Runtime.Register("getInterfaceAddresses", "()Ljava/util/List;", "")>]
member this.InterfaceAddresses : System.Collections.Generic.IList<Java.Net.InterfaceAddress>
Property Value
a List
object with all or a subset of the
InterfaceAddresss of this network interface
- Attributes
Remarks
Get a List of all or a subset of the InterfaceAddresses
of this network interface.
If there is a security manager, its checkConnect
method is called with the InetAddress for each InterfaceAddress. Only InterfaceAddresses where the checkConnect
doesn't throw a SecurityException will be returned in the List.
Added in 1.6.
Java documentation for java.net.NetworkInterface.getInterfaceAddresses()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.