Język

WifiNetworkSpecifier.Builder.SetWpa3EnterpriseConfig Method

Definition

Set the associated enterprise configuration for this network.

[Android.Runtime.Register("setWpa3EnterpriseConfig", "(Landroid/net/wifi/WifiEnterpriseConfig;)Landroid/net/wifi/WifiNetworkSpecifier$Builder;", "", ApiSince=29)]
public Android.Net.Wifi.WifiNetworkSpecifier.Builder SetWpa3EnterpriseConfig(Android.Net.Wifi.WifiEnterpriseConfig enterpriseConfig);
[<Android.Runtime.Register("setWpa3EnterpriseConfig", "(Landroid/net/wifi/WifiEnterpriseConfig;)Landroid/net/wifi/WifiNetworkSpecifier$Builder;", "", ApiSince=29)>]
member this.SetWpa3EnterpriseConfig : 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

This method was deprecated in API level 31. use setWpa3EnterpriseStandardModeConfig(WifiEnterpriseConfig) or setWpa3Enterprise192BitModeConfig(WifiEnterpriseConfig) to specify WPA3-Enterprise type explicitly.

Set the associated enterprise configuration for this network. Needed for authenticating to WPA3-Enterprise networks (standard and 192-bit security). See WifiEnterpriseConfig for description. For 192-bit security networks, both the client and CA certificates must be provided, and must be of type of either sha384WithRSAEncryption (OID 1.2.840.113549.1.1.12) or ecdsa-with-SHA384 (OID 1.2.840.10045.4.3.3).

Android reference for android.net.wifi.WifiNetworkSpecifier.Builder.setWpa3EnterpriseConfig.

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.

Applies to