InterfaceAddress.Broadcast 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.
Returns an InetAddress
for the broadcast address
for this InterfaceAddress.
public virtual Java.Net.InetAddress? Broadcast { [Android.Runtime.Register("getBroadcast", "()Ljava/net/InetAddress;", "GetGetBroadcastHandler")] get; }
[<get: Android.Runtime.Register("getBroadcast", "()Ljava/net/InetAddress;", "GetGetBroadcastHandler")>]
member this.Broadcast : Java.Net.InetAddress
Property Value
the InetAddress
representing the broadcast
address or null
if there is no broadcast address.
- Attributes
Remarks
Returns an InetAddress
for the broadcast address for this InterfaceAddress.
Only IPv4 networks have broadcast address therefore, in the case of an IPv6 network, null
will be returned.
Java documentation for java.net.InterfaceAddress.getBroadcast()
.
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.