Simon Mourier's Avatar
Simon Mourier's blog (1346 answers on StackOverflow) about Microsoft technologies C#, C/C++, .NET, WinRT, WinUI, COM, Interop, DirectX, Direct2D, Windows, ...
  • 🔎︎ Search
  • Categories
  • Archives
  • About Me
  • c#
  • hardware
  • winapi

C# - how do i get last bios time?

Aug 29, 2023 See the question and my original answer on StackOverflow

It's stored in the registry, here in this key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power

in this value FwPOSTTime, in milliseconds.

For example:

enter image description here

enter image description here

  • SmoBlog © 2010-2025 Simon Mourier. All rights reserved.
  • Privacy & Terms