C# wrapper integration with Visual Studio 10

58 views
Skip to first unread message

Des Harrold

unread,
Nov 14, 2011, 4:43:20 PM11/14/11
to TextMagic SMS Gateway API
I am trying to create a Windows Azure Worker Role to send SMS texts.
How do I incorporate the downloaded C# wrapper files to enable VS to
create the program?
i.e.

TextMagicServices.TextMagicMessageService TMS;
protected void Page_Load(object sender, EventArgs e)



{
string user = "user";
string pass = "password";
string strMessage = "Major App test";
string strPhone = "44213056776";
//initialize the Service
TMS = new TextMagicServices.TextMagicMessageService(user,
pass);
// to send message to single phone
TextMagicServices.SentMessage objSentMessage = new
TextMagicServices.SentMessage();
objSentMessage = TMS.send(strMessage, strPhone);
Reply all
Reply to author
Forward
0 new messages