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
NetworkCredential.cs
Go to the documentation of this file.
1using System;
4
5namespace System.Net
6{
7 // Token: 0x020001C2 RID: 450
9 {
10 // Token: 0x06000AB9 RID: 2745 RVA: 0x000239FC File Offset: 0x00021BFC
12 {
13 }
14
15 // Token: 0x06000ABA RID: 2746 RVA: 0x00023A0C File Offset: 0x00021C0C
16 public NetworkCredential(string userName, string password)
17 {
18 }
19
20 // Token: 0x06000ABB RID: 2747 RVA: 0x00023A1C File Offset: 0x00021C1C
21 public NetworkCredential(string userName, SecureString password)
22 {
23 }
24
25 // Token: 0x06000ABC RID: 2748 RVA: 0x00023A2C File Offset: 0x00021C2C
26 public NetworkCredential(string userName, string password, string domain)
27 {
28 if (userName != null)
29 {
30 this.m_userName = userName;
31 return;
32 }
35 if (domain != null)
36 {
37 this.m_domain = domain;
38 return;
39 }
40 }
41
42 // Token: 0x06000ABD RID: 2749 RVA: 0x00023A64 File Offset: 0x00021C64
43 public NetworkCredential(string userName, SecureString password, string domain)
44 {
45 if (userName != null)
46 {
47 this.m_userName = userName;
48 return;
49 }
50 this.SecurePassword = password;
51 if (domain != null)
52 {
53 this.m_domain = domain;
54 return;
55 }
56 }
57
58 // Token: 0x1700022B RID: 555
59 // (get) Token: 0x06000ABE RID: 2750 RVA: 0x00002050 File Offset: 0x00000250
60 // (set) Token: 0x06000ABF RID: 2751 RVA: 0x00023A94 File Offset: 0x00021C94
61 public string UserName
62 {
63 get
64 {
65 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
66 }
67 set
68 {
69 }
70 }
71
72 // Token: 0x1700022C RID: 556
73 // (get) Token: 0x06000AC0 RID: 2752 RVA: 0x00023AA4 File Offset: 0x00021CA4
74 // (set) Token: 0x06000AC1 RID: 2753 RVA: 0x00023ABC File Offset: 0x00021CBC
87
88 // Token: 0x1700022D RID: 557
89 // (get) Token: 0x06000AC2 RID: 2754 RVA: 0x00023AD8 File Offset: 0x00021CD8
90 // (set) Token: 0x06000AC3 RID: 2755 RVA: 0x00023AF0 File Offset: 0x00021CF0
92 {
93 get
94 {
95 return this.m_password.Copy();
96 }
97 set
98 {
99 if (value != null)
100 {
103 return;
104 }
105 }
106 }
107
108 // Token: 0x1700022E RID: 558
109 // (get) Token: 0x06000AC4 RID: 2756 RVA: 0x00023B10 File Offset: 0x00021D10
110 // (set) Token: 0x06000AC5 RID: 2757 RVA: 0x00023B24 File Offset: 0x00021D24
111 public string Domain
112 {
113 get
114 {
115 return this.m_domain;
116 }
117 set
118 {
119 if (value != null)
120 {
122 return;
123 }
124 }
125 }
126
127 // Token: 0x06000AC6 RID: 2758 RVA: 0x00023B3C File Offset: 0x00021D3C
128 internal string InternalGetUserName()
129 {
130 return this.m_userName;
131 }
132
133 // Token: 0x06000AC7 RID: 2759 RVA: 0x00023B50 File Offset: 0x00021D50
138
139 // Token: 0x06000AC8 RID: 2760 RVA: 0x00023B68 File Offset: 0x00021D68
141 {
142 return this.m_password;
143 }
144
145 // Token: 0x06000AC9 RID: 2761 RVA: 0x00002050 File Offset: 0x00000250
146 internal string InternalGetDomain()
147 {
148 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
149 }
150
151 // Token: 0x06000ACA RID: 2762 RVA: 0x00023B7C File Offset: 0x00021D7C
153 {
154 string domain = this.m_domain;
155 string text;
156 if (true)
157 {
158 text = domain + "\\";
159 }
160 string userName = this.m_userName;
161 return text + userName;
162 }
163
164 // Token: 0x06000ACB RID: 2763 RVA: 0x00023BB0 File Offset: 0x00021DB0
165 public NetworkCredential GetCredential(global::System.Uri uri, string authType)
166 {
167 return this;
168 }
169
170 // Token: 0x06000ACC RID: 2764 RVA: 0x00023BC0 File Offset: 0x00021DC0
171 public NetworkCredential GetCredential(string host, int port, string authenticationType)
172 {
173 return this;
174 }
175
176 // Token: 0x04000983 RID: 2435
177 private string m_domain;
178
179 // Token: 0x04000984 RID: 2436
180 private string m_userName;
181
182 // Token: 0x04000985 RID: 2437
184 }
185}
class f__AnonymousType0<< Count > j__TPar
NetworkCredential GetCredential(global::System.Uri uri, string authType)
NetworkCredential(string userName, SecureString password)
NetworkCredential(string userName, SecureString password, string domain)
NetworkCredential(string userName, string password, string domain)
NetworkCredential GetCredential(string host, int port, string authenticationType)
NetworkCredential(string userName, string password)
static SecureString CreateSecureString(string plainString)
static string CreateString(SecureString secureString)