Skip to content

Dotnet module for communicating with MOBtexting enterprise Messaging and Verify Services

Notifications You must be signed in to change notification settings

mobtexting/mobtexting-dotnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

c# plugin for mobtexting

This package makes it easy to send Mobtexting notifications.

Installation

using Package manager

Install-Package MobtextingSMSPlugin -Version 1.0.0

using .NET CLI

dotnet add package MobtextingSMSPlugin --version 1.0.0

using Package Reference

<PackageReference Include="MobtextingSMSPlugin" Version="1.0.0" />

using Paket CLI

paket add MobtextingSMSPlugin --version 1.0.0

Usage

Send an SMS

using System;
using MobtextingDotnet;
namespace Yourprojectnamespace
{
  class message
  {
    static void Main(string[] args)
    {
      string access_token = "xxxxxxxxxxxxxxx";
      Sendsms obj = new Sendsms(ACCESS_TOKEN: access_token);
      string to = "9492xxxxxx";
      string from = "mobsat";
      string body = "hello from c# !";
      char service = 'S';
      obj.sendsms(to, from, body, service);
    }
  }
}

About

Dotnet module for communicating with MOBtexting enterprise Messaging and Verify Services

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages