replacing previous sms in pdu
<p>i am using this code for sending sms in pdu mode, i want to send an sms which will replace previous sms, for this purpose  when i change bold line as (0x10) then code will not work, can any one help me for replacing previous sms through this code? </p>

<p>byte datalength;</p>

<pre><code>        byte[] encodedtext = encodetext(message, out datalength);
        string encodedsmsc = smscaddress(smscnumber, smsctype);
        StringBuilder builder = new StringBuilder();

         **builder.Append(IntToHex(0x11));**
        builder.Append(IntToHex(0x00));

         builder.Append( desaddress(usenumber,numbertype));
         builder.Append(IntToHex(0x47));
         builder.Append(IntToHex(0x00));

           builder.Append(IntToHex(0x11));
         builder.Append(IntToHex(datalength));
         builder.Append(IntToHex(encodedtext));
         length = builder.Length / 2;
         builder.Insert(0, encodedsmsc);
         return builder.ToString();
</code></pre>
