Timeline for Retrieve system uptime using C#
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 27, 2023 at 23:48 | history | edited | Robin Davies | CC BY-SA 4.0 |
added 125 characters in body
|
Jun 27, 2023 at 23:44 | comment | added | Robin Davies | Agreed. Completely superceded by the new Environment.TickCount64, I think. Or the Stopwatch class. | |
Jun 27, 2023 at 20:20 | comment | added | Robert Cutajar | Interesting trick, but I'd advise against it. .net is not a windows only framework, right? | |
Mar 3, 2021 at 14:06 | comment | added | Steven Rands | Interesting. Do you have a link for that? The best I could find was this which states "SafeNativeMethods - This class suppresses stack walks for unmanaged code permission." | |
Mar 3, 2021 at 12:12 | comment | added | Robin Davies | Methods that don't require marshalling are called directly, IF they are included in a class named SafeNativeMethods. A feature that crept into .net somewhere in the 4.x timeframe. | |
Mar 2, 2021 at 16:15 | comment | added | Steven Rands |
I'm not sure what you mean by "You definitely want to avoid P/Invoke overhead." Using [DllImport] is using P/Invoke, surely?
|
|
May 1, 2020 at 17:28 | history | answered | Robin Davies | CC BY-SA 4.0 |