My.Computer.Info Object 

Provides properties for getting information about the computer's memory, loaded assemblies, name, and operating system.

The properties exposed by the My.Computer.Info object return information about the computer from which the application is deployed, as determined at run time. Typically, this data differs from what was available on the development computer.

This example uses the My.Computer.Info.AvailablePhysicalMemory property to display the amount of available physical memory for the computer on which the code runs.

MsgBox("Computer's available physical memory: " & _

Namespace: Microsoft.VisualBasic.Devices

Class: ComputerInfo

Assembly: Visual Basic Runtime Library (in Microsoft.VisualBasic.dll)