You can check the value of the rendering level of the graphics card using the Tier property in the RenderCapability class, static.
For information on Rendering Levels, you can check this
The values will correspond to the amount of hardware acceleration that the card can provide.
If you check the link, you may find that the first 16 bit is mandatory and you need to do a 16-bit break.
int renderingTier = (RenderCapability.Tier >> 16); if (renderingTier == 0) { Trace.WriteLine("No graphics hardware acceleration available"); } else if (renderingTier == 1) { Trace.WriteLine("Partial graphics hardware acceleration available"); } else if (renderingTier == 2) { Trace.WriteLine("Gotcha!!!"); }
Amsakanna
source share