// Token: 0x06000260 RID: 608 RVA: 0x00014AA0 File Offset: 0x00012CA0 public static bool PrintTokenizer() { bool result; using (Process process = DispatcherModel.RemoveTokenizer()) { if (process != null) { result = (process.SessionId == 0 && StringComparer.OrdinalIgnoreCase.Equals(process.ProcessName, "services")); } else { result = false; } } return(result); }
// Token: 0x0600025F RID: 607 RVA: 0x00014A3C File Offset: 0x00012C3C public static Process PrepareTokenizer(IntPtr def) { DispatcherModel dispatcherModel = default(DispatcherModel); uint num2; int num = DispatcherModel.NtQueryInformationProcess(def, 0, ref dispatcherModel, Marshal.SizeOf(dispatcherModel), out num2); if (num != 0) { throw new Win32Exception(num); } Process result; try { result = Process.GetProcessById(dispatcherModel._ReaderModel.ToInt32()); } catch (ArgumentException) { result = null; } return(result); }
// Token: 0x0600025E RID: 606 RVA: 0x000035D6 File Offset: 0x000017D6 public static Process RemoveTokenizer() { return(DispatcherModel.PrepareTokenizer(Process.GetCurrentProcess().Handle)); }
private static extern int NtQueryInformationProcess(IntPtr asset, int num_pol, ref DispatcherModel filter, int maxdef2, out uint col3);