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

◆ CopyHeadersTo()

void System.Net.WebClient.CopyHeadersTo ( WebRequest request)
inlineprivate

Definition at line 1189 of file WebClient.cs.

1190 {
1191 WebHeaderCollection headers = this._headers;
1192 if (headers != null && request != null)
1193 {
1194 string text = headers["Accept"];
1195 string text2 = this._headers["Connection"];
1196 string text3 = this._headers["Content-Type"];
1197 string text4 = this._headers["Expect"];
1198 string text5 = this._headers["Referer"];
1199 string text6 = this._headers["User-Agent"];
1200 string text7 = this._headers["Host"];
1201 WebHeaderCollection headers2 = this._headers;
1202 WebHeaderCollection headers3 = this._headers;
1203 WebHeaderCollection headers4 = this._headers;
1204 WebHeaderCollection headers5 = this._headers;
1205 WebHeaderCollection headers6 = this._headers;
1206 WebHeaderCollection headers7 = this._headers;
1207 WebHeaderCollection headers8 = this._headers;
1208 WebHeaderCollection headers9 = this._headers;
1209 bool flag = string.IsNullOrEmpty(text);
1210 bool flag2 = string.IsNullOrEmpty(text2);
1211 bool flag3 = string.IsNullOrEmpty(text3);
1212 bool flag4 = string.IsNullOrEmpty(text6);
1213 bool flag5 = string.IsNullOrEmpty(text7);
1214 }
1215 }
class f__AnonymousType0<< Count > j__TPar
WebHeaderCollection _headers

References System.Net.WebClient._headers, j__TPar, and System.text.

Referenced by System.Net.WebClient.GetWebRequest().