i need a library to deal with the modem, cause i have to make an application
that connect to the modem and deal a number, and wirte the events (busy,
answered, not answered)
Current versions of .NET do not have built-in support for working with the modem
via the serial port (COM1, etc.) so you must either use a third-party library or write
your own in unmanaged Win32 code and then invoke it through P/Invoke.
Whidbey (.NET 2.0) is supposed to feature greater managed support for working
with a serial port, through the SerialPort class (with related types and event handlers)
in the System.IO.Ports namespace, which [preliminarily] looks like this,
http://msdn2.microsoft.com/library/tf8zk72w.aspx
When speaking to a modem, you'll most likely need to send Hayes (AT) commands
to the serial port yourself, e.g.,
ATDT5551234
to dial; and then interpret the verbose response strings like RING and BUSY.
Derek Harmon