Returns a bool indicating whether or not the Tone class is supported by a specific computer.
public static bool IsAudioToneSupported
true
Tone class is supported.
false
Tone class is not supported.
Honeywell recommends you use this property as a precursor to calling other members of the Tone and PolyTone classes.
By default, when Tone class constructors and methods are called while running on an unsupported computer, they return error codes that can be tested using helper methods. However, if, under these circumstances, the EnableExceptions property is set to true, an AudioToneException is raised by Tone methods but not by Tone constructors. The same behavior applies to static methods when EnableStaticExceptions has been set to true.