terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
DigestClient.cs
Go to the documentation of this file.
1using System;
3
4namespace System.Net
5{
6 // Token: 0x0200023A RID: 570
8 {
9 // Token: 0x170002FF RID: 767
10 // (get) Token: 0x06000E44 RID: 3652 RVA: 0x0002D810 File Offset: 0x0002BA10
11 private static Hashtable Cache
12 {
13 get
14 {
15 if (!true)
16 {
17 }
18 if (!true)
19 {
20 }
22 long num = 0L;
23 if (true)
24 {
25 }
26 if (num == 0L)
27 {
28 if (!true)
29 {
30 }
31 return 1;
32 }
33 throw new OutOfMemoryException();
34 }
35 }
36
37 // Token: 0x06000E45 RID: 3653 RVA: 0x0002D84C File Offset: 0x0002BA4C
38 private static void CheckExpired(int count)
39 {
40 if (!true)
41 {
42 }
44 }
45
46 // Token: 0x06000E46 RID: 3654 RVA: 0x0002D8E4 File Offset: 0x0002BAE4
48 {
49 if (challenge != null && credentials != null)
50 {
51 int num = challenge.Trim().ToLower().IndexOf("digest");
52 if (webRequest != null)
53 {
54 }
55 }
56 if (DigestClient.Cache != null)
57 {
58 }
61 return authorization;
62 }
63
64 // Token: 0x06000E47 RID: 3655 RVA: 0x0002D928 File Offset: 0x0002BB28
66 {
67 do
68 {
69 if (webRequest != null)
70 {
71 }
72 while (credentials == null)
73 {
74 }
75 }
76 while (DigestClient.Cache == null);
78 return authorization;
79 }
80
81 // Token: 0x17000300 RID: 768
82 // (get) Token: 0x06000E48 RID: 3656 RVA: 0x0002D94C File Offset: 0x0002BB4C
83 public string AuthenticationType
84 {
85 get
86 {
87 return "Digest";
88 }
89 }
90
91 // Token: 0x17000301 RID: 769
92 // (get) Token: 0x06000E49 RID: 3657 RVA: 0x0002D960 File Offset: 0x0002BB60
94 {
95 get
96 {
97 return true;
98 }
99 }
100
101 // Token: 0x06000E4A RID: 3658 RVA: 0x0002D970 File Offset: 0x0002BB70
103 {
104 }
105
106 // Token: 0x06000E4B RID: 3659 RVA: 0x0002D984 File Offset: 0x0002BB84
107 // Note: this type is marked as 'beforefieldinit'.
109 {
110 }
111
112 // Token: 0x04000BD7 RID: 3031
113 private static readonly Hashtable cache;
114 }
115}
class f__AnonymousType0<< Count > j__TPar
static readonly Hashtable cache
static Hashtable Cache
static void CheckExpired(int count)
Authorization PreAuthenticate(WebRequest webRequest, ICredentials credentials)
Authorization Authenticate(string challenge, WebRequest webRequest, ICredentials credentials)
static DateTime UtcNow
Definition DateTime.cs:1318