Skip to content

SMSAlert/API-Integration-Sample-Code-C-SHARP-DOT-NET

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Sms Alert C# Library For Sms Services

Parameters information

  • apikey : Api Key(This key is unique for every user, youo can obtain it from your smsalert account)

  • username : Your SMS Alert account username.

  • password : Your SMS Alert account password.

  • mobileno : single or multiple mobile numbers(seperated by comma) (10 digit numbers)

  • message : Message Content to be sent

  • senderid : Receiver will see this as sender's ID

  • route : route name, allocated to your account.

How to use

If you want to authenticate using API key.

 Smsalert obj = new Smsalert("API_KEY");

If you want to authenticate using Username and Password.

 Smsalert obj = new Smsalert("SMSALERT_USERNAME", "SMSALERT_PASSWORD");

To send SMS.

 obj.sendsms("CVTECH", "9999XXXXXX", "test sms", "ROUTE_NAME");