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
BasicClient.cs
Go to the documentation of this file.
1using System;
3
4namespace System.Net
5{
6 // Token: 0x0200022E RID: 558
8 {
9 // Token: 0x06000E0A RID: 3594 RVA: 0x0002CBC8 File Offset: 0x0002ADC8
11 {
12 if (challenge != null && credentials != null)
13 {
14 int num = challenge.Trim().ToLower().IndexOf("basic", StringComparison.Ordinal);
15 return BasicClient.InternalAuthenticate(webRequest, credentials);
16 }
17 }
18
19 // Token: 0x06000E0B RID: 3595 RVA: 0x00002050 File Offset: 0x00000250
20 private static byte[] GetBytes(string str)
21 {
22 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
23 }
24
25 // Token: 0x06000E0C RID: 3596 RVA: 0x0002CBFC File Offset: 0x0002ADFC
27 {
28 while (webRequest == null)
29 {
30 }
31 while (webRequest == null)
32 {
33 }
34 string text;
35 while (text == null)
36 {
37 }
38 bool flag = text == "";
39 string text2;
40 if (text2 != null)
41 {
42 bool flag2 = text2 == "";
43 bool flag3 = text2.Trim() == "";
44 }
45 string text4;
47 string text5 = "Basic " + text3;
48 if (text2 == null || ("\\" != null && "\\" == null) || (":" != null && ":" == null) || text5 == null || text5 != null)
49 {
50 }
52 }
53
54 // Token: 0x06000E0D RID: 3597 RVA: 0x0002CC9C File Offset: 0x0002AE9C
59
60 // Token: 0x170002EF RID: 751
61 // (get) Token: 0x06000E0E RID: 3598 RVA: 0x0002CCB0 File Offset: 0x0002AEB0
62 public string AuthenticationType
63 {
64 get
65 {
66 return "Basic";
67 }
68 }
69
70 // Token: 0x170002F0 RID: 752
71 // (get) Token: 0x06000E0F RID: 3599 RVA: 0x0002CCC4 File Offset: 0x0002AEC4
73 {
74 get
75 {
76 return true;
77 }
78 }
79
80 // Token: 0x06000E10 RID: 3600 RVA: 0x0002CCD4 File Offset: 0x0002AED4
81 public BasicClient()
82 {
83 }
84 }
85}
class f__AnonymousType0<< Count > j__TPar
static string ToBase64String(byte[] inArray)
Definition Convert.cs:2645
Authorization PreAuthenticate(WebRequest webRequest, ICredentials credentials)
Authorization Authenticate(string challenge, WebRequest webRequest, ICredentials credentials)
static byte[] GetBytes(string str)
static Authorization InternalAuthenticate(WebRequest webRequest, ICredentials credentials)