Click here to Skip to main content
15,895,606 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to Record voice in web application using Asp.Net. Please suggest.

What I have tried:

i tried using using Microsoft.VisualBasic.Devices;using Microsoft.VisualBasic;using system.Runtime.InteropServices; but its not working properly.
Posted
Updated 29-Jun-16 20:43pm

1 solution

You can't.
C# is a Server side language, it doesn't run on the client - so it has no direct access to client hardware, including the microphone.
To do this you need something that runs on the client and can access the hardware - which means you are pretty much going to need Flash (yeuch), Silverlight, or HTML5. And there is a good chance that this won't work well (if at all) across all platforms. But... html5 audio recording - Google Search[^] may help.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900