Skip to main content
Published
Aug 8, 2026
2mo ago
Total Downloads
97.3K
97,336

Install

dotnet add package Senparc.Ncf.SMS --version 0.20.6-preview6
ProductVersions
.NET
net10.0

README

Senparc.Ncf.SMS

Senparc.Ncf.SMS defines a small provider-neutral SMS abstraction for NCF applications.

Features

  • Common ISmsPlatform and SmsPlatform contracts.
  • Provider implementations for JunMei and Fissoft.
  • Shared settings, result types, reply messages, and remaining-balance queries.
  • Factory-based provider selection without coupling callers to a concrete platform.

Installation

<PackageReference Include="Senparc.Ncf.SMS" Version="0.26.0-preview3" />

Key API

  • SmsPlatformFactory.GetSmsPlateform(...) creates the selected platform implementation.
  • ISmsPlatform.Send(string content, string number) sends a message.
  • ISmsPlatform.GetLastCount() queries the provider's remaining message count.
  • SenparcSmsSetting stores provider account and sub-number settings.

The factory method name preserves the existing Plateform spelling for binary/source compatibility. Keep credentials in secure configuration and apply provider-specific rate limits, templates, and consent requirements in the host.

Changes from Previous Version

No structural changes between v0.20.5-preview5 and v0.20.6-preview6.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.