AccessEntryCore 1.6.3

dotnet add package AccessEntryCore --version 1.6.3
                    
NuGet\Install-Package AccessEntryCore -Version 1.6.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AccessEntryCore" Version="1.6.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AccessEntryCore" Version="1.6.3" />
                    
Directory.Packages.props
<PackageReference Include="AccessEntryCore" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AccessEntryCore --version 1.6.3
                    
#r "nuget: AccessEntryCore, 1.6.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package AccessEntryCore@1.6.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=AccessEntryCore&version=1.6.3
                    
Install as a Cake Addin
#tool nuget:?package=AccessEntryCore&version=1.6.3
                    
Install as a Cake Tool

AccessEntryCore

用于发布、更新、管理产品的核心库(ADTP Studio 开发者组件)。

AccessEntryCore 提供了与 ADTP Studio 服务器通信的核心能力,包括用户认证、产品与密钥(Token)管理、消息收发以及 OCR 识别等功能。该库面向 .NET Standard 2.0,可被运行于 .NET Framework、.NET Core 与 .NET 5+ 的各类客户端项目引用。

安装

通过 NuGet 安装:

dotnet add package AccessEntryCore

或在项目文件中添加引用:

<PackageReference Include="AccessEntryCore" Version="1.6.3" />

快速上手

using AS;

// 设置服务器地址
Service.SetHost("https://your-server.com");

// 登录账户
User user = Service.Login("username", "password", keepOnline: true);

// 获取产品列表
List<Product> products = Service.GetProductList();

// 获取当前账户创建的密钥
List<Token> tokens = Service.GetTokenByCreater();

// 发送消息
Service.SendMessage(to, "hello", new Dictionary<string, string> { { "key", "value" } });

// 登出
Service.SignOut();

OCR 识别

using AS.Ocr;

var ocr = new Ocr();
// 发送图像进行识别(image64 为图像的 Base64 编码)
OcrResponse result = ocr.SendImage(image64, "ch");

主要功能

  • 账户认证LoginAutoLoginSignOut
  • 产品管理GetProductGetProductListGetProductByAdministratorGetProductCount
  • 密钥管理GetTokenGetTokenByCreaterGetTokenCountByCreater
  • 用户管理GetUserGetUserList
  • 消息收发SendMessageReceiveMessagesGetMessageCancelMessageReadMessageNotReadMessagesCount
  • 计算机管理GetComputer
  • OCR 识别AS.Ocr.Ocr 命名空间下的图像识别与服务器状态查询

依赖

  • Newtonsoft.Json (>= 13.0.1)
  • System.Drawing.Common (>= 8.0.7)

文档

完整使用指南请参考官方教程:

AccessEntryCore 使用指南

许可证

本项目采用 MIT 许可证,允许在商业项目中免费使用、修改与分发。

Product 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.6.3 105 8/14/2026
1.6.2 388 11/16/2023
1.6.0 214 11/15/2023
1.4.6 402 4/29/2022