C# and screen

  • Thread starter Alexander Vasilevsky
  • Start date
A

Alexander Vasilevsky

What are a function on work with adjusting a screen?
It is needed to show out all supported screen resolution and in accordance
with chosen frequency...

http://www.alvas.net - Audio tools for C# and VB.Net developers
 
C

Ciaran O''Donnell

This information is not available in .NET as far as I know. You can get the
current screen information but I dont this the potentials are available.
However, this information is probably available from Windows Management
Intrumentation. You would however need to find the query to access it.

Let us know if you find it
 
C

Carlos

I believe the only way is to use pInvoke,
but to access hardware Win32 apis
is not such an easy thing.
I would start by reading about WDM

Carlos.
 
T

Todd Carnes

Alexander said:
What are a function on work with adjusting a screen?
It is needed to show out all supported screen resolution and in accordance
with chosen frequency...

http://www.alvas.net - Audio tools for C# and VB.Net developers

I think you have to use something like WinAPI, DirectX or XNA. I don't
think it can be done directly from C#.

Todd
 
C

Carlos

I believe that DirectX re used to draw only, not to change hardware
configurations.
Now I remember Pavel´s answer is good, but perhaps WDM stuff is better.

Carlos.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top