How can I find out the performance tuning of your system for end users?

How to find out system performance parameters for end users (visual effects, etc.)? I want my WPF application compatible with these settings.

Is there any standard procedure for this or do I just need to read sysinfo?

+6
performance c # wpf
source share
2 answers

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!!!"); } 
+2
source share

Try the System.Windows.Forms.SystemInformation class.

eg.

 if (SystemInformation.UIEffectsEnabled) { // do something } else { // don't do that something } 
+1
source share

All Articles