public void Stop()
{
if (this.inputDevice != null)
{
try
{
this.inputDevice.StopRecording();
this.inputDevice.Close();
}
catch
{
}
}
}