Hi,
Does the PC that is running your application have an internet connection?
If so, then the simplest thing is to use a paging web service (available via
subscription from most paging companies). The actual web service will
provide the required API. All you have to do is to subscribe to it in your
application.
You can use a dialup modem (and the SerialPort class) to page via the TAP
protocol. You dial in directly, using your modem, to the paging service to
which you subscribe, and send the message formatted using that protocol. I
have details and some examples in my book (see below), though nothing for
..NET. TAP is used less frequently these days because so many PCs have
internet connections.
If all that you need to do is to send a NUMERIC page (TAP is for full text
paging), then most services support simple dialing. You use the modem to
dial the service, after answer (you do not allow the modem to connect, but
instead use it as a simple dialer), you send some additional digits that are
the pager number -- some pagers may then allow you to send additional digits
that might be used to represent the actual error event. I have example code
for this sort of thing in my book using VB6. It could be ported to .NET
quite easily.
Dick
--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See
www.hardandsoftware.net for details and contact information.