How to Read SMS in C#?!

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Dear Professionals,
I'm a beginner in C#.net and also PPC Programming. I try to develop a PPC
2003 Software that show me the content of arrived SMS into a TEXTBOX.
I will appreciate you If you give me the code or show me a sample. (Please
don't reply me request by references or documentations links, I can't use
them! I need code/sample).
Sorry For Weak English.
 
There are no code samples. .NET has no capability for recieving SMS - thats
done via an SMS gateway like nowSMS or web based provider.

Once you identify a gateway the simplest approch is to use the web classes
to talk to it via HTTP which .NET does support.
 
John said:
There are no code samples. .NET has no capability for recieving SMS - thats
done via an SMS gateway like nowSMS or web based provider.

Another possibility would be to use a gsm terminal like the Siemens
TC35i. Connect to it using rs232 cable and use the supported AT commands
to control it.

hth,
Max
 
Indeed - I have tried that, it is somewhat cumbersome compared to using a
off the shelf gateway but it does indeed work.

Regards

John Timney (MVP)
 
What do you mean, the are no code samples?!
MSVS 2005 let you programming for smartdevices in any .Net programming
language, and I also find out the sample for sending sms using C# (It import
sms.dll and use SMSOpen function for sending sms). I just need receiving
sample!
(For PPC 2003)!
 
Thanks John,
But I found that before!
In this sample you will receive the arrived SMS into a eVC++ managed APP.
and you will transfer it to you PC via C#.net, but I need 1st part in C#! And
I don't knwohow to do it, so I need a code sample!
 
I've not see any solution that uses just managed code for recieveing SMS
without using a gateway. Hence my intial answer that there were no code
samples - that doesn't mean there are none, just I've never seen one.

Take a look at this if you've not seen it- it includes that example I
pointed you to, it uses native and managed but you may be able to rewrite
it.

http://blogs.msdn.com/nazimms/archive/2005/09/08/462495.aspx

Regards

John Timney (MVP)
 
Back
Top