Axxess
Axxess

Reputation: 532

C# How check if installed physical memory is either ECC or non-ECC?

I'm trying to find out how to check if installed memory (RAM) is ECC of non-ECC I need to do that with C# using WMI Classes.

Does any of you have an idea ?

thnx in advance

Upvotes: 4

Views: 971

Answers (1)

Rup
Rup

Reputation: 34408

You could query WMI Win32_PhysicalMemory and test whether TotalWidth (bit count including any check bits) is greater than DataWidth (bit count excluding check bits).

Upvotes: 3

Related Questions