Sage.WXWork 1.0.0.2

dotnet add package Sage.WXWork --version 1.0.0.2
                    
NuGet\Install-Package Sage.WXWork -Version 1.0.0.2
                    
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="Sage.WXWork" Version="1.0.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sage.WXWork" Version="1.0.0.2" />
                    
Directory.Packages.props
<PackageReference Include="Sage.WXWork" />
                    
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 Sage.WXWork --version 1.0.0.2
                    
#r "nuget: Sage.WXWork, 1.0.0.2"
                    
#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 Sage.WXWork@1.0.0.2
                    
#: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=Sage.WXWork&version=1.0.0.2
                    
Install as a Cake Addin
#tool nuget:?package=Sage.WXWork&version=1.0.0.2
                    
Install as a Cake Tool

Sage.WXWork 简介

提供微信企业号消息加解密功能,用于企业微信应用开发。 主要特性

  • 消息加密和解密
  • 签名验证
  • 错误处理 使用示例

使用了企业微信官方提供的SDK,用法和企业微信官方的一致,此外增加了企业微信所有错误的对应释义,编译拿到错误原因。

错误码和描述的用法

using Sage.WXWork;
// 企业微信API错误码
int apiErrorCode = 40001;
string apiErrorMsg = ErrorProvider.GetDescription(apiErrorCode);
Console.WriteLine($"API错误信息:{apiErrorMsg}"); // 输出:不合法的secret参数

许可证

版权所有 © 2025 甲壳虫科技 团队。

贡献

欢迎提交问题和功能请求。 QQ Group: 1054304346

作者

甲壳虫科技

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  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 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.
  • net9.0

    • No dependencies.

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.2 201 10/13/2025
1.0.0.1 200 10/2/2025
1.0.0 216 7/16/2025

支持NET10