Skip to content

Latest commit

 

History

History
22 lines (20 loc) · 542 Bytes

README.md

File metadata and controls

22 lines (20 loc) · 542 Bytes

Netgsm.NET

An easy-to-use netgsm.com.tr API with .NET

Installation

dotnet add package Netgsm --version 1.2.1

Usage

namespace Netgsm {
    internal class Program {
        static void Main(string[] args) {
            var netgsm = new Netgsm();
            netgsm.SetUsercode("api usercode");
            netgsm.SetPassword("api password");
            netgsm.Sms("header", "phone", "message"); // Sending SMS message
            netgsm.Otp("header", "phone", "message"); // Sending OTP message
        }
    }
}