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

◆ DownloadFile() [1/2]

void System.Net.WebClient.DownloadFile ( global::System::Uri address,
string fileName )
inline

Definition at line 844 of file WebClient.cs.

845 {
846 if (!true)
847 {
848 }
849 WebClient.ThrowIfNull(address, "address");
850 WebClient.ThrowIfNull(fileName, "fileName");
851 this.StartOperation();
852 global::System.Uri uri = this.GetUri(address);
853 this._webRequest = this;
854 long num = 0L;
855 if (!true)
856 {
857 File.Delete(fileName);
858 }
859 if (num == 0L)
860 {
861 return;
862 }
863 throw new OutOfMemoryException();
864 }
class f__AnonymousType0<< Count > j__TPar
static void Delete(string path)
Definition File.cs:77
global::System.Uri GetUri(string address)

References System.IO.File.Delete(), System.Net.WebClient.GetUri(), j__TPar, System.L, System.Net.WebClient.StartOperation(), and System.Net.WebClient.ThrowIfNull().