WebRequestHandler.AuthenticationLevel 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置一个值,该值指示用于此请求的身份验证和模拟级别。
public:
property System::Net::Security::AuthenticationLevel AuthenticationLevel { System::Net::Security::AuthenticationLevel get(); void set(System::Net::Security::AuthenticationLevel value); };
public System.Net.Security.AuthenticationLevel AuthenticationLevel { get; set; }
member this.AuthenticationLevel : System.Net.Security.AuthenticationLevel with get, set
Public Property AuthenticationLevel As AuthenticationLevel
属性值
值的按位组合 AuthenticationLevel 。 默认值为 MutualAuthRequested。
注解
在相互身份验证中,客户端和服务器都提供凭据来建立其标识。 这些 MutualAuthRequired 值 MutualAuthRequested 与 Kerberos 身份验证相关。 可以直接支持 Kerberos 身份验证,或者,如果协商安全协议用于选择实际的安全协议,则可以使用。 有关身份验证协议的详细信息,请参阅 Internet 身份验证。