Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WmiMonitorBasicDisplayParams causing an exception "not supported" #1

Open
MarioLiebisch opened this issue Jun 28, 2021 · 1 comment

Comments

@MarioLiebisch
Copy link

First of all, nice little tool. Was curious on how to retrieve the different metrics, so grabbed the source and played a bit with it.

While doing so, I noticed the display size check would always fail for me with an unhandled exception (System.Management.ManagementException with a localized text not supported), which apparently suggests that my Windows 10 system (running an Nvidia GTX 1080 connected through DisplayPort) doesn't like the query for WmiMonitorBasicDisplayParams for whatever reason.

From what I've gathered, this might be driver capabilities related, so might be a good idea to handle this possibility just in case.

@d3n4c3
Copy link
Owner

d3n4c3 commented Jun 29, 2021

Thanks for the feedback, I really appreciate it. I'll take a look into it. I need to add a lot of the error catching and try statements still, so it's not a huge surprise that things aren't working perfectly when it comes to error handling. Some updates should be made this coming week, so keep a look out for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants