SMSClient 2.0.12

dotnet add package SMSClient --version 2.0.12
NuGet\Install-Package SMSClient -Version 2.0.12
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SMSClient" Version="2.0.12" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SMSClient --version 2.0.12
#r "nuget: SMSClient, 2.0.12"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install SMSClient as a Cake Addin
#addin nuget:?package=SMSClient&version=2.0.12

// Install SMSClient as a Cake Tool
#tool nuget:?package=SMSClient&version=2.0.12

Sample for Inficare

SMSInficare inf = new SMSInficare();
ConfigSender MyConfig = new ConfigSender()
{
	APP_ID = Properties.Settings.Default.inficare_app_id,
	UserID = Properties.Settings.Default.inficare_user_id,
	APP_KEY = Properties.Settings.Default.inficare_app_pwd,
	SenderID = Properties.Settings.Default.inficare_sender
};
SMSSender X = new SMSSender(enumSMSProviders.Inficare, MyConfig);
SMSResponse y = X.SendSMS("9841963402", "Test SMS");

bool actual = y.Status;

Sample for Prabhu

SMSPrabhu inf = new SMSPrabhu();
ConfigSender MyConfig = new ConfigSender()
{
    UserID = Properties.Settings.Default.eprabhu_app_id,
    APP_KEY = Properties.Settings.Default.eprabhu_app_pwd,
    SenderID = ""
};
SMSSender X = new SMSSender(enumSMSProviders.EPrabhu, MyConfig);
X = new SMSSender(enumSMSProviders.EPrabhu, MyConfig);
X = new SMSSender(enumSMSProviders.EPrabhu, MyConfig);

string msg = string.Format(@"
Dear {0},
Your Accountno {1}
has been Credited/Debited by Nrs: {2}/-. on {3}.
Thank You,
PCS V2", "Ganesh Ghimire", "001####012##153", "10,00,000", "2074/01/12");// "9813979589");

SMSResponse y = X.SendSMS("9841963402", msg, "SMS-UT-3017");
Assert.AreEqual("000", y.ErrMsg);
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.12 353 11/17/2022
2.0.11 286 11/17/2022
2.0.10 384 7/20/2022
2.0.9 465 9/9/2020
2.0.8 396 9/9/2020

Re-Adjustment for Confirmation Changed Variable Name for Inficare Adjustment