Zongsoft.Externals.Opc 0.23.0

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

Zongsoft.Externals.Opc 扩展插件库

License NuGet Version NuGet Downloads GitHub Stars

English | 简体中文


证书生成

如果采用 X509 证书进行身份验证,需要使用 OpenSSL 工具 生成 X509 证书文件。

💡 注意: 请根据需要调整命令中的相应参数值。

生成私钥

openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:2048 -out certificate.private.pem -outform PEM
  • 使用 openssl genpkey 命令生成加密的私钥文件,密码由 -pass 参数指定。
openssl genpkey -algorithm RSA -aes256 -pkeyopt rsa_keygen_bits:2048 -out certificate.private.pem -outform PEM -pass pass:"password"

创建自签名证书

命令的 -subj 参数包含的字段:

  • CN = 公共名称
  • C = 国家地区
  • ST = 省/州/邦
  • L = 城市 (Locality)
  • O = 组织机构
  • OU = 分支机构 (部门)
  • 使用 openssl req 命令创建自签名证书,私钥为未加密。
openssl req -new -x509 -key certificate.private.pem -days 3650 -out certificate.der -outform DER -subj "/C=CN/ST=Province|State/L=City/O=Organization/OU=Branch|Department/CN=Common Name/emailAddress=certificate@zongsoft.com"
  • 使用 openssl req 命令创建自签名证书,指定的私钥为已加密,私钥密码由 -passin 参数指定。
openssl req -new -x509 -key certificate.private.pem -passin pass:"password" -days 3650 -out certificate.der -outform DER -subj "/C=CN/ST=Province|State/L=City/O=Organization/OU=Branch|Department/CN=Common Name/emailAddress=certificate@zongsoft.com"

合并为 PKCS#12 文件

  • 使用 openssl pkcs12 命令合并无密码的证书文件。

    注:如果私钥为加密格式,则使用 -passin 参数指定该私钥密码。

openssl pkcs12 -inkey certificate.private.pem -in certificate.der -export -out certificate.pfx -passout pass:"" -name "FriendlyName"
openssl pkcs12 -inkey certificate.private.pem -passin pass:"password" -in certificate.der -export -out certificate.pfx -passout pass:"" -name "FriendlyName"
  • 使用 openssl pkcs12 命令合并含密码的证书文件,证书文件密码由 -passout 参数指定。

    注:如果私钥为加密格式,则使用 -passin 参数指定该私钥密码。

openssl pkcs12 -inkey certificate.private.pem -in certificate.der -export -out certificate.pfx -passout pass:"password" -name "FriendlyName"
openssl pkcs12 -inkey certificate.private.pem -passin pass:"password" -in certificate.der -export -out certificate.pfx -passout pass:"password" -name "FriendlyName"
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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 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.

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
0.23.0 46 5/21/2026
0.22.0 108 3/16/2026
0.21.0 215 11/25/2025
0.20.0 222 10/28/2025
0.18.0 209 10/23/2025
0.17.0 242 9/4/2025
0.15.0 212 8/14/2025
0.14.0 211 7/14/2025
0.13.0 212 7/1/2025
0.12.0 212 6/26/2025
0.11.0 331 6/13/2025
0.10.0 364 6/12/2025
0.9.0 360 6/11/2025
0.8.0 227 5/28/2025
0.7.0 222 5/28/2025
0.6.0 211 5/27/2025
0.5.0 219 5/27/2025
0.4.0 222 5/26/2025
Loading failed