Ezviz.Open.Sdk
1.0.0
dotnet add package Ezviz.Open.Sdk --version 1.0.0
NuGet\Install-Package Ezviz.Open.Sdk -Version 1.0.0
<PackageReference Include="Ezviz.Open.Sdk" Version="1.0.0" />
paket add Ezviz.Open.Sdk --version 1.0.0
#r "nuget: Ezviz.Open.Sdk, 1.0.0"
// Install Ezviz.Open.Sdk as a Cake Addin #addin nuget:?package=Ezviz.Open.Sdk&version=1.0.0 // Install Ezviz.Open.Sdk as a Cake Tool #tool nuget:?package=Ezviz.Open.Sdk&version=1.0.0
GeneralResourceTokenGenerator generator = new GeneralResourceTokenGenerator(); //您需要用App Key和Secret Key来初始化生成器对象。生成器对象可以缓存,并支持多线程并发。 //请注意保管好您的 AppKey和Secret Key. generator.Init(APP_KEY, SECRET_KEY); GeneralResourceTokenParam param = new GeneralResourceTokenParam(); var action = new ActionItem("ERTC_INFO"); action.Attributes.Add("strRoomId", "001"); action.Attributes.Add("userId", "abc"); action.Attributes.Add("permission", "7"); param.Appid = "app01"; param.Expire = 604800; param.Policy = new List<ActionItem> { action }; var token = generator.GenerateToken(param);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Newtonsoft.Json (>= 13.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 87 | 12/16/2024 |