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

◆ FtpWebRequest() [1/3]

System.Net.FtpWebRequest.FtpWebRequest ( global::System::Uri uri)
inlinepackage

Definition at line 267 of file FtpWebRequest.cs.

268 {
269 int num = 34464;
270 int num2 = 257;
271 this._timeout = num;
272 this._passive = num2 != 0;
273 if (num == 0)
274 {
275 }
276 int num3 = 37856;
278 this._timerQueue = num;
279 if (num == 0)
280 {
281 }
282 base..ctor();
283 if (num == 0)
284 {
285 }
286 bool isEnabled = NetEventSource.IsEnabled;
287 if (num == 0)
288 {
289 }
290 NetEventSource.Info(this, uri, ".ctor");
291 if (num3 == 0)
292 {
293 }
294 this._uri = uri;
295 FtpMethodInfo methodInfo = FtpMethodInfo.GetMethodInfo("RETR");
296 global::System.Uri uri2 = this._uri;
298 int stringLength;
299 if (uri2.UserInfo != null && this._uri.UserInfo._stringLength != 0)
300 {
301 string userInfo = this._uri.UserInfo;
302 int num4 = 58;
303 int num5 = userInfo.IndexOf((char)num4);
304 long num6 = 0L;
305 string text = userInfo.Substring((int)num6, num5);
306 if (num3 == 0)
307 {
308 }
309 long num7 = 0L;
310 string text2 = global::System.Uri.UnescapeDataString(text);
311 stringLength = userInfo._stringLength;
312 string text3 = global::System.Uri.UnescapeDataString(userInfo.Substring((int)num7, num5));
313 }
314 if (stringLength == 0)
315 {
316 }
317 }
class f__AnonymousType0<< Count > j__TPar
readonly global::System.Uri _uri
string UserInfo
Definition Uri.cs:1237

References System.Net.FtpWebRequest._uri, System.Net.FtpMethodInfo.GetMethodInfo(), System.Net.NetEventSource.Info(), System.Net.NetEventSource.IsEnabled, j__TPar, System.L, System.text, and System.Uri.UserInfo.