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

  1. Import the decompressed SDK folder to Visual Studio as a solution. Select the AliyunSDK_MNS_Sample project.
  2. In the AliyunSDK_MNS_Sample project, view the files that include sample code for different operations.
  3. 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";  
  4. Set the file as the startup object and run the code.

Version 1.3.8

  • Release date

    2017-08-25

    Download DataHub SDK for C++

  • Updates

    The Security Token Service (STS) feature of Resource Access Management (RAM) is supported.

Version 1.3.7

Version 1.3.6

Version 1.3.5

  • Release date

    2016-11-1

    Download DataHub SDK for C++

  • Updates

    The MessageTag parameter is supported for the PublishMessage and Subscribe operations.

Version 1.3.4

Version 1.3.3

  • Release date

    2016-06-07

    Download DataHub SDK for C++

  • 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

    Download DataHub SDK for C++

  • Updates

    The setting error of the ContentFormat parameter in the Subscribe operation is fixed.

Version 1.3.1

  • Release date

    2016-05-18

    Download DataHub SDK for C++

  • Updates

    The setting error of the Priority parameter in the SendMessage operation is fixed.

Version 1.3.0

  • Release date

    2016-05-17

    Download DataHub SDK for C++

  • Updates
    • The LoggingEnabled parameter is supported.
    • MNS queues and mail addresses can be specified as endpoints of subscriptions to topics.
    • .NET Framework 3.5 is supported.

Version 1.1.3

Version 1.1.2

  • Release date

    2016-02-19

    Download DataHub SDK for C++

  • Updates

    The sample code that is used to enable an HTTP server and process messages for topics is supported.

Version 1.1.1

Version 1.1.0

Version 1.0.0