SystemInfo Members
Include Protected Members
Include Inherited Members
Stores device information such as CPU information, battery life, amount of memory, and operating system version.
The SystemInfo type exposes the following members.
Methods
Name
Description
Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Serves as a hash function for a particular type. (Inherited from Object.)
Gets the type of the current instance. (Inherited from Object.)
Creates a shallow copy of the current Object. (Inherited from Object.)
Returns a string that represents the current object. (Inherited from Object.)
Top
Properties
Name
Description
Gets or sets a byte that represents whether the device is plugged in.
Gets or sets the maximum amount of memory the current process can commit, in bytes. This value should be smaller than the system-wide available commit. To calculate this value, call GetPerformanceInfo and subtract the value of CommitTotal from CommitLimit.
Gets or sets the amount of physical memory currently available in bytes.
Gets or sets the amount of unreserved and uncommitted memory currently in the user-mode part of the virtual address space of the calling process, in bytes.
Gets or sets a byte that represents the charge status of the backup battery.
Gets or sets the number of seconds of backup battery life when at full charge, or 0xFFFFFFFF (BATTERY_LIFE_UNKNOWN) if full lifetime is unknown.
Gets or sets the percentage of full backup battery charge remaining.
Gets or sets the number of seconds of backup battery life remaining, or 0xFFFFFFFF (BATTERY_LIFE_UNKNOWN) if remaining seconds are unknown.
Gets or sets a byte that represents the charge status of the battery.
Gets or sets the number of seconds of battery life when at full charge, or 0xFFFFFFFF (BATTERY_LIFE_UNKNOWN) if full lifetime is unknown.
Gets or sets the percentage of full battery charge remaining.
Gets or sets the number of seconds of battery life remaining, or 0xFFFFFFFF (BATTERY_LIFE_UNKNOWN) if remaining seconds are unknown.
Gets or sets the current time on the device based on a value in the operating system.
Gets or sets the instruction set type supported by the device's CPU.
Gets or sets the number of processors on the device.
Gets or sets the build number of the operating system.
Gets or sets the major version number of the operating system. For example, for Windows CE version 2.1, the major version number is 2.
Gets or sets the minor version number of the operating system. For example, for Windows CE version 2.1, the minor version number is 1.
Gets or sets an integer that represents the size in bytes of each page on the device.
Gets or sets the processor architecture type of the device's CPU.
Gets or sets the locale ID of the device.
Gets or sets the current size of the committed memory limit, in bytes.
Gets or sets the amount of physical memory, in bytes.
Gets or sets the size of the user-mode part of the virtual address space of the calling process, in bytes.
Top