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

◆ UploadFile() [2/4]

byte[] System.Net.WebClient.UploadFile ( global::System::Uri address,
string method,
string fileName )
inline

Definition at line 1029 of file WebClient.cs.

1030 {
1031 int num = 1;
1032 if (num == 0)
1033 {
1034 }
1035 WebClient.ThrowIfNull(address, "address");
1036 WebClient.ThrowIfNull(fileName, "fileName");
1037 string text;
1038 if (method == null)
1039 {
1040 text = this.MapToDefaultMethod(address);
1041 }
1042 this.StartOperation();
1044 string scheme = this.GetUri(address).Scheme;
1045 if (num == 0)
1046 {
1047 }
1048 this._webRequest = this;
1049 byte[] array;
1050 return array;
1051 }
class f__AnonymousType0<< Count > j__TPar
global::System.Uri GetUri(string address)
string MapToDefaultMethod(global::System.Uri address)
string Scheme
Definition Uri.cs:1094

References System.array, System.Net.WebClient.GetUri(), j__TPar, System.Net.WebClient.MapToDefaultMethod(), System.Uri.Scheme, System.Net.WebClient.StartOperation(), System.text, and System.Net.WebClient.ThrowIfNull().