NsdServiceInfo.Host 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 the host address. -or- Set the host address
public Java.Net.InetAddress? Host { [Android.Runtime.Register("getHost", "()Ljava/net/InetAddress;", "")] get; [Android.Runtime.Register("setHost", "(Ljava/net/InetAddress;)V", "")] set; }
[<get: Android.Runtime.Register("getHost", "()Ljava/net/InetAddress;", "")>]
[<set: Android.Runtime.Register("setHost", "(Ljava/net/InetAddress;)V", "")>]
member this.Host : Java.Net.InetAddress with get, set
Property Value
- Attributes
Remarks
Property getter documentation:
Get the host address. The host address is valid for a resolved service.
This member is deprecated. Use #getHostAddresses()
to get the entire list of addresses for the host.
Java documentation for android.net.nsd.NsdServiceInfo.getHost()
.
Property setter documentation:
Set the host address
This member is deprecated. Use #setHostAddresses(List)
to set multiple addresses for the host.
Java documentation for android.net.nsd.NsdServiceInfo.setHost(java.net.InetAddress)
.
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.