Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

77 lines
2.8 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.Net
{
/// <summary>Contains an authentication message for an Internet server.</summary>
// Token: 0x0200021B RID: 539
[Token(Token = "0x200021B")]
public class Authorization
{
/// <summary>Creates a new instance of the <see cref="T:System.Net.Authorization" /> class with the specified authorization message.</summary>
/// <param name="token">The encrypted authorization message expected by the server.</param>
// Token: 0x06000DC6 RID: 3526 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000DC6")]
[Address(RVA = "0xDC43A0", Offset = "0xDC33A0", VA = "0x180DC43A0")]
public Authorization(string token)
{
}
/// <summary>Creates a new instance of the <see cref="T:System.Net.Authorization" /> class with the specified authorization message and completion status.</summary>
/// <param name="token">The encrypted authorization message expected by the server.</param>
/// <param name="finished">The completion status of the authorization attempt. <see langword="true" /> if the authorization attempt is complete; otherwise, <see langword="false" />.</param>
// Token: 0x06000DC7 RID: 3527 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000DC7")]
[Address(RVA = "0xDC4410", Offset = "0xDC3410", VA = "0x180DC4410")]
public Authorization(string token, bool finished)
{
}
/// <summary>Gets the message returned to the server in response to an authentication challenge.</summary>
/// <returns>The message that will be returned to the server in response to an authentication challenge.</returns>
// Token: 0x17000289 RID: 649
// (get) Token: 0x06000DC8 RID: 3528 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000289")]
public string Message
{
[Token(Token = "0x6000DC8")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
get
{
return null;
}
}
/// <summary>Gets the completion status of the authorization.</summary>
/// <returns>
/// <see langword="true" /> if the authentication process is complete; otherwise, <see langword="false" />.</returns>
// Token: 0x1700028A RID: 650
// (get) Token: 0x06000DC9 RID: 3529 RVA: 0x00007008 File Offset: 0x00005208
[Token(Token = "0x1700028A")]
public bool Complete
{
[Token(Token = "0x6000DC9")]
[Address(RVA = "0x497570", Offset = "0x496570", VA = "0x180497570")]
get
{
return default(bool);
}
}
// Token: 0x04000781 RID: 1921
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000781")]
private string m_Message;
// Token: 0x04000782 RID: 1922
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000782")]
private bool m_Complete;
// Token: 0x04000783 RID: 1923
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000783")]
internal string ModuleAuthenticationType;
}
}