OperatingSystem
OperatingSystem
Represents an operating system and its key attributes, such as processes, file system, network parameters, system uptime, and more.
Provides methods to interact with processes, file system, and system services.
Author
N7ghtm4r3
Inheritors
Properties
currentProcess
The currently running process of the operating system.
currentThread
The currently running thread of the operating system.
fileSystem
The file system information of the operating system, including file stores and descriptors.
internetProtocolStats
The internet protocol statistics related to network connections, including TCP and UDP statistics and IP connections.
isElevated
A flag indicating whether the operating system is running with elevated privileges (e.g., as an administrator).
manufacturer
The manufacturer of the operating system (e.g., "Microsoft", "Apple").
networkParams
The network parameters of the operating system, including host name, domain name, DNS servers, and default gateways.
processCount
The total number of processes running on the operating system.
systemBootTime
The time in milliseconds when the system was last booted (Unix timestamp).
systemUptime
The system uptime in milliseconds since the operating system started.
threadCount
The total number of threads running on the operating system.
versionInfo
The version information of the operating system, including version number, build, etc.
Functions
Retrieves the desktop windows of the operating system.
Retrieves a single process by its process ID.
Retrieves the list of all running processes on the operating system.
Retrieves the list of processes specified by their process IDs.