RunCodes
Programming & Tech

How to Send Free SMS in C#.NET using SMS API in 2024? [With Source Code]

Sending free SMS using SMS API in C#.NET

0 859

using Vonage;
using Vonage.Request;

var credentials = Credentials.FromApiKeyAndSecret(
txtAPIKey.Text,
txtAPISec.Text
);

var VonageClient = new VonageClient(credentials);
var response = VonageClient.SmsClient.SendAnSms(new Vonage.Messaging.SendSmsRequest()
{
To = txtTO.Text,
From = txtFrom.Text,
Text = txtText.Text
});
MessageBox.Show("sms send successfully");

 

Full Tutorial:

 

 

Leave a comment