I am a newbie in c#..Please dont get annoyed by my question if its kinda silly one..

I need to see the disabled playback and recording devices by c# code and want to enable or disable it as per my need.
How can I approach..??
I made a code using DirectX.DirectSound API but it is limited to enumerate the devices which are only enabled and i am not able see the disabled devices present. And I don't think there is any method of disabling or enabling the devices.

I'll be very thankful to u for the help.

And please also suggest me how can I do this with using other API's if possible.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.