// Token: 0x060029FC RID: 10748 RVA: 0x000A1588 File Offset: 0x0009F788 private static bool smethod_8(IntPtr handle, uint processId, IntPtr currentProcess, bool remote, out string token) { Class494 @class = null; Class522 class2 = null; bool result; try { if (remote) { @class = Class265.OpenProcess(Enum72.flag_0, true, processId); if (Class265.DuplicateHandle(@class.DangerousGetHandle(), handle, currentProcess, out class2, 0, false, Enum130.flag_1)) { handle = class2.DangerousGetHandle(); } } result = Class471.smethod_9(handle, out token); } finally { if (@class != null) { @class.Close(); } if (class2 != null) { class2.Close(); } } return(result); }
// Token: 0x060029F4 RID: 10740 RVA: 0x000A11C4 File Offset: 0x0009F3C4 private static Dictionary <string, string> smethod_0() { string[] logicalDrives = Environment.GetLogicalDrives(); Dictionary <string, string> dictionary = new Dictionary <string, string>(logicalDrives.Length); StringBuilder stringBuilder = new StringBuilder(Class471.int_0); foreach (string text in logicalDrives) { string text2 = text.Substring(0, 2); Class265.QueryDosDevice(text2, stringBuilder, Class471.int_0); dictionary.Add(Class471.smethod_1(stringBuilder.ToString()), text2); } dictionary.Add(Class471.string_1.Substring(0, Class471.string_1.Length - 1), "\\"); return(dictionary); }
// Token: 0x060029FB RID: 10747 RVA: 0x000A1538 File Offset: 0x0009F738 private static bool smethod_7(IntPtr handle, uint processId, byte objectType, IntPtr currentProcess, bool remote, out string token) { token = null; if (Class471.dictionary_1.ContainsKey(objectType)) { token = Class471.dictionary_1[objectType]; return(true); } if (Class471.smethod_8(handle, processId, currentProcess, remote, out token)) { Class471.dictionary_1.Add(objectType, token); return(true); } return(false); }
// Token: 0x06002A04 RID: 10756 RVA: 0x000A1718 File Offset: 0x0009F918 public void method_0() { try { using (IEnumerator <FileSystemInfo> enumerator = Class471.smethod_3((uint)this.int_0)) { while (enumerator.MoveNext()) { FileSystemInfo item = enumerator.Current; this.list_0.Add(item); } } } catch (ThreadAbortException) { } }
// Token: 0x06002A02 RID: 10754 RVA: 0x000136D5 File Offset: 0x000118D5 public void method_0() { this.bool_0 = Class471.smethod_6(this.intptr_0, out this.string_0); }