TotalPhysicalMemory Property


TotalPhysicalMemory Property

Location

My.Computer.Info.TotalPhysicalMemory

Syntax

     Dim result As ULong = My.Computer.Info.TotalPhysicalMemory 

Description

The TotalPhysicalMemory property returns the total amount of installed bytes of physical memory on the local computer.

Usage at a Glance

  • This property is read-only.

  • This property only works on platforms that make the information available. This includes Windows XP, Windows 2000 Professional, Windows Server 2003, Windows 2000 Server, or any later versions of these systems.

  • An exception is thrown if for any reason the application is unable to determine the current status of memory on the system.

Related Framework Entries

  • Microsoft.VisualBasic.Devices.ComputerInfo.TotalPhysicalMemory Property

See Also

AvailablePhysicalMemory Property, AvailableVirtualMemory Property, Info Object (My.Computer), TotalVirtualMemory Property




Visual Basic 2005(c) In a Nutshell
Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))
ISBN: 059610152X
EAN: 2147483647
Year: 2004
Pages: 712

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net