Click here to Skip to main content
15,891,843 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi I am using Window 8 and I used GSMCommunication lib to send message from my computer. But I found the error "Port can not be open"
Please, check my code

C#
private GsmCommMain _comm;
        public GsmCommMain comm
        {
            get { return _comm; }
            set { _comm = value; }
        }



C#
public SMSCommon()
       {         
           comm = new GsmCommMain();
       }


C#
public bool SendSMS(string message, int charset, string phone, SmsSubmitPdu pdu)
        {

comm.Open();
comm.SendMessage(pdu);
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900