Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

c# list audio devices

 ManagementObjectSearcher objSearcher = new ManagementObjectSearcher(
           "SELECT * FROM Win32_SoundDevice");

    ManagementObjectCollection objCollection = objSearcher.Get();

    foreach (ManagementObject obj in objCollection)
    {
        foreach (PropertyData property in obj.Properties)
        {
            Console.Out.WriteLine(String.Format("{0}:{1}", property.Name, property.Value));
        }
    }
Comment

PREVIOUS NEXT
Code Example
Csharp :: unity instantiate prefab 
Csharp :: instantiate unity in parent 
Csharp :: c# razor add disabled to button if 
Csharp :: c# oops concept 
Csharp :: raylib c# basic window 
Csharp :: calculate distance using latitude and longitude c# 
Csharp :: c# get application root path directory 
Csharp :: c# isarray 
Csharp :: c# remove first 5 characters from string 
Csharp :: Replaced OS is obselete 
Csharp :: float and int need help 
Csharp :: remove all array elements c# 
Csharp :: unity create empty gameobject in code 
Csharp :: how to pass optional guid parameters in c# 
Csharp :: c# dictionary keys to list 
Csharp :: c# isdigit mehod 
Csharp :: c# get excel column number from letter 
Csharp :: get tag unity 
Csharp :: unity get center of object 
Csharp :: c# datetime for filename 
Csharp :: socket io connect to namespace 
Csharp :: limiting the amount of decimal places c# 
Csharp :: change scale of an object unity 
Csharp :: how to stop a form c# 
Csharp :: C# new form 
Csharp :: c# encrypted 
Csharp :: get all classes that extend a class c# 
Csharp :: wpf stackpanel 
Csharp :: unity render to texture2d 
Csharp :: c# loop through repeater items 
ADD CONTENT
Topic
Content
Source link
Name
6+8 =