using System.Security.Cryptography;
using System.Collections.Specialized;
public static void Main()
Console.WriteLine(HellioMessaging_SendSMS());
static string sha1(string input) {
var hash = new SHA1Managed().ComputeHash(Encoding.UTF8.GetBytes(input));
return string.Concat(hash.Select(b => b.ToString("x2")));
public static string HellioMessaging_SendSMS() {
var currentDate = DateTime.Now.ToString("yyyyMMddHH");
string applicationSecret = "c562ad35fa5abdf9a9c00a320abab7c8";
string clientId = "5d7137393b173";
string hashedAuthKey = sha1(clientId + applicationSecret + currentDate);
string senderId = "HellioSMS";
string msisdn = "233265515154";
string message = "Thanks for choosing Hellio Messaging. This Is A Message Sent From A C# Code.";
using (var wb = new WebClient()) {
byte[] response = wb.UploadValues("https://helliomessaging.com/api/v2/sms", new NameValueCollection(){
{"authKey", hashedAuthKey},
string result = System.Text.Encoding.UTF8.GetString(response);