VB.Net to test Camera, Mic and Speakers

~OSD~ 2,176 Reputation points
2021-02-21T18:12:08.767+00:00

Hi,

On Windows 10, I need to test / verify if Camera, Sound and Mic are working properly or not. There are certain web sites that offer this type of services /tests.. but is f possible to perform these test with a .net form application?
I have not a clue, or starting point, so if it's out of the scope (advance level question), I will simply skip this.

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,714 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Xingyu Zhao-MSFT 5,366 Reputation points
    2021-02-22T02:45:09.113+00:00

    Hi @~OSD~ ,
    I'm afraid not.
    Instead, you can use vb .net to open Camera,

    Process.Start("microsoft.windows.camera:")  
    

    Record microphone input and play sound:

    Using soundPlayer = New SoundPlayer("...wav")  
        soundPlayer.Play()  
    End Using  
    

    Hope it could be helpful.

    Best Regards,
    Xingyu Zhao
    *
    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.