20 lines
1.1 KiB
C#
20 lines
1.1 KiB
C#
using System;
|
|
|
|
namespace System.Net.Security
|
|
{
|
|
/// <summary>Specifies client requirements for authentication and impersonation when using the <see cref="T:System.Net.WebRequest" /> class and derived classes to request a resource.</summary>
|
|
// Token: 0x020001D3 RID: 467
|
|
public enum AuthenticationLevel
|
|
{
|
|
/// <summary>No authentication is required for the client and server.</summary>
|
|
// Token: 0x04000DA0 RID: 3488
|
|
None,
|
|
/// <summary>The client and server should be authenticated. The request does not fail if the server is not authenticated. To determine whether mutual authentication occurred, check the value of the <see cref="P:System.Net.WebResponse.IsMutuallyAuthenticated" /> property.</summary>
|
|
// Token: 0x04000DA1 RID: 3489
|
|
MutualAuthRequested,
|
|
/// <summary>The client and server should be authenticated. If the server is not authenticated, your application will receive an <see cref="T:System.IO.IOException" /> with a <see cref="T:System.Net.ProtocolViolationException" /> inner exception that indicates that mutual authentication failed</summary>
|
|
// Token: 0x04000DA2 RID: 3490
|
|
MutualAuthRequired
|
|
}
|
|
}
|