WifiManager.SetSendDhcpHostnameRestriction Method
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.
Sets the global restrictions on which networks to send the device hostname to during DHCP.
[Android.Runtime.Register("setSendDhcpHostnameRestriction", "(I)V", "GetSetSendDhcpHostnameRestriction_IHandler", ApiSince=35)]
public virtual void SetSendDhcpHostnameRestriction (Android.Net.Wifi.SendDhcpHostnameRestriction restriction);
[<Android.Runtime.Register("setSendDhcpHostnameRestriction", "(I)V", "GetSetSendDhcpHostnameRestriction_IHandler", ApiSince=35)>]
abstract member SetSendDhcpHostnameRestriction : Android.Net.Wifi.SendDhcpHostnameRestriction -> unit
override this.SetSendDhcpHostnameRestriction : Android.Net.Wifi.SendDhcpHostnameRestriction -> unit
Parameters
- restriction
- SendDhcpHostnameRestriction
Bitmask of SendDhcpHostnameRestriction
, or none to indicate no
restriction.
- Attributes
Remarks
Sets the global restrictions on which networks to send the device hostname to during DHCP.
Java documentation for android.net.wifi.WifiManager.setSendDhcpHostnameRestriction(int)
.
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.