Info
Version: | 1.0.2 |
Author(s): | Victor([email protected]) |
Last Update: | Friday, December 6, 2019 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/IOTSDK |
Install
Install-Package IOTSDK
dotnet add package IOTSDK
paket add IOTSDK
IOTSDK Download (Unzip the "nupkg" after downloading)
Dependencies
- Microsoft.AspNetCore.Http(>= 2.2.2)
- Microsoft.Extensions.Caching.Abstractions(>= 2.2.0)
- Microsoft.Extensions.Caching.Memory(>= 2.2.0)
- Microsoft.Extensions.Http(>= 2.2.0)
- Newtonsoft.Json(>= 12.0.2)
- RestSharp(>= 106.6.10)
- Serilog(>= 2.8.0)
- Serilog.Sinks.File(>= 4.0.0)
使用://注册和初始化IOT、添加订阅消息服务services.AddIotApi(Configuration).AddIotMessage<IotSubscriptMessagecs>();
配置文件:"Iot": {
"AppId": "",
"AppSecret": "",
"PlatformAddress": "https://device.api.ct10649.com:8743",
"P12certfileName": "",
"CerPassword": ""
},.