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
NetCfFile.cs
Go to the documentation of this file.
1using System;
3
4namespace Ionic.Zip
5{
6 // Token: 0x02000024 RID: 36
7 internal class NetCfFile
8 {
9 // Token: 0x0600014A RID: 330 RVA: 0x00005634 File Offset: 0x00003834
10 public static int SetTimes(string filename, DateTime ctime, DateTime atime, DateTime mtime)
11 {
12 int num;
13 IntPtr intPtr = (IntPtr)num;
14 int num2 = (int)intPtr;
15 long num3;
16 byte[] bytes = BitConverter.GetBytes(num3);
17 long num4;
19 long num5;
21 bool flag = NetCfFile.SetFileTime(intPtr, bytes, bytes2, bytes3);
24 }
25
26 // Token: 0x0600014B RID: 331 RVA: 0x0000568C File Offset: 0x0000388C
27 public static int SetLastWriteTime(string filename, DateTime mtime)
28 {
29 int num;
30 IntPtr intPtr = (IntPtr)num;
31 int num2 = (int)intPtr;
32 long num3;
33 byte[] bytes = BitConverter.GetBytes(num3);
34 bool flag = NetCfFile.CloseHandle(intPtr);
36 }
37
38 // Token: 0x0600014C RID: 332
40
41 // Token: 0x0600014D RID: 333
42 internal static extern uint GetAttributes(string lpFileName);
43
44 // Token: 0x0600014E RID: 334
45 internal static extern bool SetAttributes(string lpFileName, uint dwFileAttributes);
46
47 // Token: 0x0600014F RID: 335
48 internal static extern bool SetFileTime(IntPtr hFile, byte[] lpCreationTime, byte[] lpLastAccessTime, byte[] lpLastWriteTime);
49
50 // Token: 0x06000150 RID: 336
51 internal static extern bool CloseHandle(IntPtr hObject);
52
53 // Token: 0x06000151 RID: 337 RVA: 0x000056C4 File Offset: 0x000038C4
54 public NetCfFile()
55 {
56 }
57 }
58}
class f__AnonymousType0<< Count > j__TPar
static int CreateFileCE(string lpFileName, uint dwDesiredAccess, uint dwShareMode, int lpSecurityAttributes, uint dwCreationDisposition, uint dwFlagsAndAttributes, int hTemplateFile)
static uint GetAttributes(string lpFileName)
static bool SetAttributes(string lpFileName, uint dwFileAttributes)
static bool SetFileTime(IntPtr hFile, byte[] lpCreationTime, byte[] lpLastAccessTime, byte[] lpLastWriteTime)
static int SetTimes(string filename, DateTime ctime, DateTime atime, DateTime mtime)
Definition NetCfFile.cs:10
static int SetLastWriteTime(string filename, DateTime mtime)
Definition NetCfFile.cs:27
static bool CloseHandle(IntPtr hObject)
static byte[] GetBytes(int value)