Class TOSOperator

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TOSOperator = class(TReferenceCounted)

Description

The Operating system operator provides operation system specific methods and informations.

Hierarchy

Overview

Methods

Public function GetTextFromClipboard: AnsiString; inline;
Public procedure CopyToClipboard(const Test: AnsiString); inline;

Properties

Public property AvailableMemory: LongWord read GetAvailableSystemMemory;
Public property IsMemoryInfoAvailable: Boolean read GetIsSystemMemoryAvailable;
Public property IsProcessorSpeedAvailable: Boolean read GetIsProcessorSpeedAvailable;
Public property OSVersion: StringType read GetOperatingSystemVersion;
Public property ProcessorSpeedMHz: LongWord read GetProcessorSpeedMHz;
Public property TotalMemory: LongWord read GetTotalSystemMemory;

Description

Methods

Public function GetTextFromClipboard: AnsiString; inline;

Retrieves ("Pastes") text from the clipboard.

Public procedure CopyToClipboard(const Test: AnsiString); inline;

Copies text to the clipboard.

Properties

Public property AvailableMemory: LongWord read GetAvailableSystemMemory;

The available system memory.

Public property IsMemoryInfoAvailable: Boolean read GetIsSystemMemoryAvailable;

Whether the TotalMemory and AvailableMemory properties are available.

Public property IsProcessorSpeedAvailable: Boolean read GetIsProcessorSpeedAvailable;

Whether the ProcessorSpeedMHz property is available.

Public property OSVersion: StringType read GetOperatingSystemVersion;

The current operating system version as string. This usually includes the OS name, build number and architecture.

Public property ProcessorSpeedMHz: LongWord read GetProcessorSpeedMHz;

The processor speed in megahertz.

Public property TotalMemory: LongWord read GetTotalSystemMemory;

The total system memory.


Generated by PasDoc 0.12.1 on 2012-09-14 17:32:22