共用方式為


ComputerInfo.CsTotalPhysicalMemory Property

Definition

Total size of physical memory.

public:
 property Nullable<System::UInt64> CsTotalPhysicalMemory { Nullable<System::UInt64> get(); };
public ulong? CsTotalPhysicalMemory { get; }
member this.CsTotalPhysicalMemory : Nullable<uint64>
Public ReadOnly Property CsTotalPhysicalMemory As Nullable(Of ULong)

Property Value

Remarks

Be aware that, under some circumstances, this property may not return an accurate value for the physical memory. For example, it is not accurate if the BIOS is using some of the physical memory

Applies to