Hi
can any body tell me how can i send arabic sms with at-command in C# ?
i try with this code but the message show incorrect on phone !

serialPort1.BaseStream.Flush();

                string cb = char.ConvertFromUtf32(26);

                System.Threading.Thread.Sleep(2000);

                this.serialPort1.Write("AT+CMGF=1\r");
                this.serialPort1.Write("AT+CSCA=servicecenter\r\n");//Ufone Service Center

                this.serialPort1.Write("AT+CSCS=\"" + "HEX" + "\"\r\n");
                this.serialPort1.Write("AT+CSMP=\"" + 1 + "," + 167 + "," + 0 + ","  +8+ "\"\r\n");
                this.serialPort1.Write("AT+CMGS=\"" + textBox1.Text + "\"\r\n");// message sending
                this.serialPort1.Write(textBox2.Text + cb);//message text

and massege is this :

06450631062D06280627

please help me thanks

SMS is not for free. This will not do. There are ways but you will have to pay the service. Are you still intereseted?

This article has been dead for over six months. Start a new discussion instead.