EapSessionConfig.Builder.SetEapMsChapV2Config(String, String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置 EAP MSCHAPv2 的配置。
[Android.Runtime.Register("setEapMsChapV2Config", "(Ljava/lang/String;Ljava/lang/String;)Landroid/net/eap/EapSessionConfig$Builder;", "", ApiSince=31)]
public Android.Net.Eap.EapSessionConfig.Builder SetEapMsChapV2Config(string username, string password);
[<Android.Runtime.Register("setEapMsChapV2Config", "(Ljava/lang/String;Ljava/lang/String;)Landroid/net/eap/EapSessionConfig$Builder;", "", ApiSince=31)>]
member this.SetEapMsChapV2Config : string * string -> Android.Net.Eap.EapSessionConfig.Builder
参数
- username
- String
字符串要进行身份验证的客户端帐户的用户名。 此值不能为 null。
- password
- String
字符串要进行身份验证的客户端帐户的密码。 此值不能为 null。
返回
构建此生成器,以促进链接。 此值不能为 null。
- 属性
注解
设置 EAP MSCHAPv2 的配置。
Android 参考。android.net.eap.EapSessionConfig.Builder.setEapMsChapV2Config
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。