private static uint smethod_4() { uint num = 0; GClass126.Struct0 struct0_0 = new GClass126.Struct0(); struct0_0.uint_0 = (uint)Marshal.SizeOf((object)struct0_0); struct0_0.uint_1 = 0U; uint tickCount = (uint)Environment.TickCount; if (GClass126.GetLastInputInfo(ref struct0_0)) { uint uint1 = struct0_0.uint_1; num = tickCount - uint1; } if (num <= 0U) { return(0); } return(num / 1000U); }
private static extern bool GetLastInputInfo(ref GClass126.Struct0 struct0_0);