Exemple #1
0
 // Token: 0x06001DE3 RID: 7651 RVA: 0x00060CF0 File Offset: 0x0005EEF0
 private static void smethod_0()
 {
     using (MemoryMappedFile memoryMappedFile = MemoryMappedFile.OpenExisting(Class283.string_13, MemoryMappedFileRights.Read))
     {
         using (MemoryMappedViewStream memoryMappedViewStream = memoryMappedFile.CreateViewStream(0L, (long)Class283.int_0, MemoryMappedFileAccess.Read))
         {
             using (BinaryReader binaryReader = new BinaryReader(memoryMappedViewStream))
             {
                 int  processId = binaryReader.ReadInt32();
                 long value     = binaryReader.ReadInt64();
                 using (Process currentProcess = Process.GetCurrentProcess())
                 {
                     using (Process processById = Process.GetProcessById(processId))
                     {
                         if (!processById.Responding || !Class410.smethod_28(new IntPtr(value), Environment.CommandLine, new IntPtr(currentProcess.Id), 5000U))
                         {
                             DialogBox.smethod_3(Class283.string_11, Class283.string_12);
                         }
                     }
                 }
             }
         }
     }
 }