Tag: system info

  • How can I create thread based timer in Delphi?

    In Delphi, you can create a timer using a separate thread. One common approach is to use the TThread class and synchronize the timer events with the main thread. Here’s a simple example: unit ThreadTimer; interface uses Classes, SysUtils, Windows; type TTimerThread = class(TThread) private FInterval: Integer; FOnTimer: TNotifyEvent; protected procedure Execute; override; public constructor…

  • How do I get battery info in Delphi

    How do I get battery info in Delphi To get battery information in Delphi, you can use the TBattery class from the System.Win.Battery unit of the Delphi RTL. This class provides properties and methods that allow you to access various details about the battery installed on your computer, such as the battery level, charging state,…

  • How do I get network info in Delphi

    How do I get network info in Delphi To get network information in Delphi, you can use the TNetworkAdapter class from the System.Net.AdapterInfo unit of the Delphi RTL. This class provides properties and methods that allow you to access various details about the network adapters installed on your computer, such as the adapter name, description,…

  • How do I get system info in Delphi

    How do I get system info in Delphi To get system information in Delphi, you can use the TOSVersion and TWindowsVersion classes from the Delphi RTL. These classes provide properties and methods that allow you to access various details about the operating system and the hardware running on your computer, such as the version number,…