YaDong.Artemis.Client NuGet Package

The HttpClient Extension For Hikvision Open8200(V3.7.0) platform.
Sample:
using YaDong.Artemis.Client;

HttpClientHandler httpClientHandler = new HttpClientHandler();
httpClientHandler.ClientCertificateOptions = ClientCertificateOption.Automatic;
httpClientHandler.ServerCertificateCustomValidationCallback = (request, x509Cert, x509Chain, sslPolicyErrors) => true;

var httpClient = new HttpClient(httpClientHandler);
httpClient.BaseAddress = new Uri("https://open8200.hikvision.com");
//url like /artemis/api/fms/v2/resource/findCamera?indexCode=65&deviceCode=65000000001310979424&pageNo=1&pageSize=20
httpResponseMessage = await httpClient.ArtemisGetAsync(url, appKey, appSecret);

//url like /artemis/api/bms/v2/searchMotorVehicles
httpResponseMessage = await httpClient.ArtemisPostAsync(url,httpContent, appKey, appSecret);
httpResponseMessage = await httpClient.ArtemisPutAsync(url, httpContent, appKey, appSecret);
httpResponseMessage = await httpClient.ArtemisDeleteAsync(url, appKey, appSecret);

Email:
[email protected].




Got any YaDong.Artemis.Client Question?





Info

Version: 0.2.1
Author(s): YaDong.Wang
Last Update: Friday, December 13, 2019
.NET Fiddle: Create the first Fiddle
NuGet Url: https://www.nuget.org/packages/YaDong.Artemis.Client


Install
Install-Package YaDong.Artemis.Client
dotnet add package YaDong.Artemis.Client
paket add YaDong.Artemis.Client
YaDong.Artemis.Client Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

avg-downloads-per-day

0

days-since-last-release

1854