WifiNetworkSpecifier.Builder.SetWpa2EnterpriseConfig 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.
Set the associated enterprise configuration for this network.
[Android.Runtime.Register("setWpa2EnterpriseConfig", "(Landroid/net/wifi/WifiEnterpriseConfig;)Landroid/net/wifi/WifiNetworkSpecifier$Builder;", "", ApiSince=29)]
public Android.Net.Wifi.WifiNetworkSpecifier.Builder SetWpa2EnterpriseConfig(Android.Net.Wifi.WifiEnterpriseConfig enterpriseConfig);
[<Android.Runtime.Register("setWpa2EnterpriseConfig", "(Landroid/net/wifi/WifiEnterpriseConfig;)Landroid/net/wifi/WifiNetworkSpecifier$Builder;", "", ApiSince=29)>]
member this.SetWpa2EnterpriseConfig : Android.Net.Wifi.WifiEnterpriseConfig -> Android.Net.Wifi.WifiNetworkSpecifier.Builder
Parameters
- enterpriseConfig
- WifiEnterpriseConfig
Instance of WifiEnterpriseConfig. This value cannot be null.
Returns
Instance of Builder to enable chaining of the builder method. This value cannot be null.
- Attributes
Remarks
Set the associated enterprise configuration for this network. Needed for authenticating to WPA2-EAP networks. See WifiEnterpriseConfig for description. Local-only connection will not support Trust On First Use (TOFU). If TOFU is enabled on this Enterprise Config, framework will reject the connection. See WifiEnterpriseConfig.enableTrustOnFirstUse
Android reference for android.net.wifi.WifiNetworkSpecifier.Builder.setWpa2EnterpriseConfig.
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.