You can use AT commands, or if you are on Windows 7 or 8, you can use the Mobile Broadband API. There is another API if you are developing in Win 8 Metro.
A link to the Mobile Broadband API is here: http://msdn.microsoft.com/en-gb/library/windows/desktop/dd323269(v=vs.85).aspx
There is an article about using it with C # here: http://msdn.microsoft.com/en-us/library/windows/desktop/dd323271(v=vs.85).aspx
The full reference to the 3GPP AT command for GSM modems is TS 27.007, it is here: http://www.3gpp.org/ftp/Specs/html-info/27007.htm Keep in mind that most modems have specific AT- manufacturer teams, some of which are publicly available and some not. But for simple procedures, such as sending / receiving SMS messages, you probably will not need it.
The source code that you have will first determine programmatically which port the modem is connected to, and then it will send AT commands. Or, he identifies the network adapter that the modem represents, and using the Windows identifier, calls the Mobile Broadband API functions. Therefore, review the code for these procedures. This is an interesting site, by the way - it was new to me.
source share