Monday, May 31, 2010

Emit a Beep

With the function Console.Beep() our application does not suddenly turn into a DJ - program, but this function can emit beep tones using the internal or, if plugged in, external speakers.
A call without parameters creates a "standard beep", as parameters the pitch and Hertz and the duration in milliseconds available.
Console.Beep() is only avaible from .Net 2.0 and upwards.
The operating systems Windows 98 - Windows ME cannot interpret the parameters.

No comments:

Post a Comment