All Products
Search
Document Center

Simple Message Queue (formerly MNS):SDK for C# release notes

Last Updated:Mar 11, 2026

This page lists each version of the Simple Message Queue (formerly MNS) SDK for C#, with release dates, download links, and changes. Use the latest version for the best performance and stability.

Get started

  1. Download the SDK zip for the version you need from the version list below.

  2. Extract the zip and import the folder into Visual Studio as a solution. Select the AliyunSDK_MNS_Sample project.

  3. In the AliyunSDK_MNS_Sample project, browse the sample code files. Each file demonstrates a different operation.

  4. Open the file you want to run in the Aliyun_MNS_Sample project. Set your AccessKey ID, AccessKey secret, and endpoint. Store credentials in environment variables instead of hardcoding them: Replace the following placeholders with your values:

    Set the MNS_AK_ENV and MNS_SK_ENV environment variables before you run the application.
    Placeholder Description Example
    <your-endpoint> Your SMQ endpoint URL http://1234567890123456.mns.cn-hangzhou.aliyuncs.com
       private static readonly string _accessKeyId = Environment.GetEnvironmentVariable("MNS_AK_ENV");
       private static readonly string _secretAccessKey = Environment.GetEnvironmentVariable("MNS_SK_ENV");
       private const string _endpoint = "<your-endpoint>";
       // Example: http://<account-id>.mns.cn-hangzhou.aliyuncs.com
  5. Set the file as the startup object and run it.

Version history

1.3.8 (2017-08-25)

Download SMQ SDK for C# v1.3.8

Features added

  • Added support for Security Token Service (STS) through Resource Access Management (RAM), enabling temporary credential-based access.

1.3.7 (2017-03-10)

Download SMQ SDK for C# v1.3.7

Bugs fixed

  • Fixed JSON serialization for the BatchSendMessage operation.

1.3.6 (2016-12-19)

Download SMQ SDK for C# v1.3.6

Features added

  • Phone numbers can now be used as subscription endpoints for topics.

1.3.5 (2016-11-01)

Download SMQ SDK for C# v1.3.5

Features added

  • Added the MessageTag parameter for the PublishMessage and Subscribe operations, enabling message filtering by tag.

1.3.4 (2016-10-10)

Download SMQ SDK for C# v1.3.4

Other changes

  • Removed built-in MD5 checksum verification from the SDK.

1.3.3 (2016-06-07)

Download SMQ SDK for C# v1.3.3

Features added

  • The ReceiptHandle is now returned when DelaySeconds is set on a message.

1.3.2 (2016-05-31)

Download SMQ SDK for C# v1.3.2

Bugs fixed

  • Fixed the ContentFormat parameter configuration in the Subscribe operation.

1.3.1 (2016-05-18)

Download SMQ SDK for C# v1.3.1

Bugs fixed

  • Fixed the Priority parameter configuration in the SendMessage operation.

1.3.0 (2016-05-17)

Download SMQ SDK for C# v1.3.0

Features added

  • Added the LoggingEnabled parameter.

  • SMQ queues and email addresses can now be used as subscription endpoints for topics.

  • Added support for .NET Framework 3.5.

1.1.3 (2016-03-17)

Download SMQ SDK for C# v1.1.3

Features added

  • Added the GetNativeTopic method to the MNSClient class.

1.1.2 (2016-02-19)

Download SMQ SDK for C# v1.1.2

Features added

  • Added sample code for starting an HTTP server that processes topic messages.

1.1.1 (2016-02-18)

Download SMQ SDK for C# v1.1.1

Features added

  • Added support for the PublishMessage operation on SMQ topics.

1.1.0 (2016-01-05)

Download SMQ SDK for C# v1.1.0

Features added

  • Added topic support (pub/sub messaging model).

1.0.0 (2015-09-10)

Download SMQ SDK for C# v1.0.0

Initial release of the Simple Message Queue (formerly MNS) SDK for C#.