This topic describes the release notes of the SDK for C#. To ensure optimal performance and stability, we recommend that you download the latest version of the SDK.
Installation
Import the decompressed SDK folder to Visual Studio as a solution. Select the AliyunSDK_MNS_Sample project.
In the AliyunSDK_MNS_Sample project, view the files that include sample code for different operations.
Open the required file in the Aliyun_MNS_Sample project, and specify the AccessKey ID, AccessKey secret, and endpoint in the file. We recommend that you read configurations by using environment variables in the code. Do not save the AccessKey ID and AccessKey secret in the code.
private const string _accessKeyId = Environment.GetEnvironmentVariable("MNS_AK_ENV"); private const string _secretAccessKey = Environment.GetEnvironmentVariable("MNS_SK_ENV"); private const string _endpoint = "valid endpoint. Example: http://$AccountId.mns.cn-hangzhou.aliyuncs.com";
Set the file as the startup object and run the code.
Version 1.3.8
Release date
2017-08-25
Updates
The Security Token Service (STS) feature of Resource Access Management (RAM) is supported.
Version 1.3.7
Release date
2017-03-10
Updates
The JSON serialization of the BatchSendMessage operation is fixed.
Version 1.3.6
Release date
2016-12-19
Updates
Phone numbers can be specified as endpoints of subscriptions to topics.
Version 1.3.5
Release date
2016-11-1
Updates
The MessageTag parameter is supported for the PublishMessage and Subscribe operations.
Version 1.3.4
Release date
2016-10-10
Updates
The MD5 checksum verification of the SDK is canceled.
Version 1.3.3
Release date
2016-06-07
Updates
The ReceiptHandle parameter of a message is returned if you specify the DelaySeconds parameter for the message.
Version 1.3.2
Release date
2016-05-31
Updates
The setting error of the ContentFormat parameter in the Subscribe operation is fixed.
Version 1.3.1
Release date
2016-05-18
Updates
The setting error of the Priority parameter in the SendMessage operation is fixed.
Version 1.3.0
Release date
2016-05-17
Updates
The LoggingEnabled parameter is supported.
SMQ queues and mail addresses can be specified as endpoints of subscriptions to topics.
.NET Framework 3.5 is supported.
Version 1.1.3
Release date
2016-03-17
Updates
The GetNativeTopic operation for the MNSClient class is supported.
Version 1.1.2
Release date
2016-02-19
Updates
The sample code that is used to enable an HTTP server and process messages for topics is supported.
Version 1.1.1
Release date
2016-02-18
Updates
The PublishMessage operation is supported for SMQ topics.
Version 1.1.0
Release date
2016-01-05
Updates
The topic feature is supported.
Version 1.0.0
Release date
2015-09-10
Updates
This is the initial release.