Zongsoft.Externals.Opc
0.24.0
dotnet add package Zongsoft.Externals.Opc --version 0.24.0
NuGet\Install-Package Zongsoft.Externals.Opc -Version 0.24.0
<PackageReference Include="Zongsoft.Externals.Opc" Version="0.24.0" />
<PackageVersion Include="Zongsoft.Externals.Opc" Version="0.24.0" />
<PackageReference Include="Zongsoft.Externals.Opc" />
paket add Zongsoft.Externals.Opc --version 0.24.0
#r "nuget: Zongsoft.Externals.Opc, 0.24.0"
#:package Zongsoft.Externals.Opc@0.24.0
#addin nuget:?package=Zongsoft.Externals.Opc&version=0.24.0
#tool nuget:?package=Zongsoft.Externals.Opc&version=0.24.0
Zongsoft.Externals.Opc Extension Plugin Library
Certificate Generation
If X509 certificates are used for authentication, use OpenSSL to generate the X509 certificate files.
💡 Note: adjust the command parameter values as needed.
Generate a Private Key
- Use the
openssl genpkeycommand to generate an unencrypted private key file.
openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:2048 -out certificate.private.pem -outform PEM
- Use the
openssl genpkeycommand to generate an encrypted private key file. Specify the password with the-passparameter.
openssl genpkey -algorithm RSA -aes256 -pkeyopt rsa_keygen_bits:2048 -out certificate.private.pem -outform PEM -pass pass:"password"
Create a Self-Signed Certificate
The -subj parameter contains these fields:
- CN = Common Name
- C = Country or region
- ST = State or province
- L = Locality or city
- O = Organization
- OU = Organizational unit or department
- Use the
openssl reqcommand to create a self-signed certificate with an unencrypted private key.
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"
- Use the
openssl reqcommand to create a self-signed certificate with an encrypted private key. Specify the private-key password with the-passinparameter.
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"
Merge into a PKCS#12 File
- Use the
openssl pkcs12command to merge a certificate file without a password.Note: if the private key is encrypted, specify its password with the
-passinparameter.
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"
- Use the
openssl pkcs12command to merge a certificate file with a password. Specify the certificate-file password with the-passoutparameter.Note: if the private key is encrypted, specify its password with the
-passinparameter.
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"
Plugin-Based Integration
Compose this feature through the host; a package reference supplies compile-time APIs, while plugin loading also requires deployed manifests and runtime assets. See the complete plugin workflow.
The plugin makes the OPC adapter and SDK available. Application code configures endpoints, certificate trust and session/subscription lifetimes; no OPC connection is implied by copying the manifest.
| Runtime artifact | Source of truth |
|---|---|
Zongsoft.Externals.Opc |
Zongsoft.Externals.Opc.plugin |
| File copying and dependencies | Zongsoft.Externals.Opc.deploy |
Add this fragment to an existing host .deploy (retain Main and the host’s other base manifests; do not replace the whole file):
[plugins zongsoft externals opc]
nuget:Zongsoft.Externals.Opc
Run dotnet deploy against a test deployment as explained in the workflow, with the host's framework, platform, architecture and, where needed, site. Pin compatible versions in real deployments; application dependencies such as databases, caches or commercial runtimes are still separate prerequisites.
Additional artifacts listed by the deployment manifest include Zongsoft.Externals.Opc.plugin. Retain assemblies, dependencies and satellite resource directories as well. Restart the host after deployment, check plugin loading and service/driver registration, then verify the workflow above; copied files alone do not prove that the feature is active.
| Product | Versions 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. |
-
net10.0
- OPCFoundation.NetStandard.Opc.Ua (>= 1.5.378.134)
- OPCFoundation.NetStandard.Opc.Ua.Client (>= 1.5.378.134)
- OPCFoundation.NetStandard.Opc.Ua.Configuration (>= 1.5.378.134)
- OPCFoundation.NetStandard.Opc.Ua.Core (>= 1.5.378.134)
- OPCFoundation.NetStandard.Opc.Ua.Security.Certificates (>= 1.5.378.134)
- OPCFoundation.NetStandard.Opc.Ua.Server (>= 1.5.378.134)
- Zongsoft.Core (>= 7.63.0)
-
net8.0
- OPCFoundation.NetStandard.Opc.Ua (>= 1.5.378.134)
- OPCFoundation.NetStandard.Opc.Ua.Client (>= 1.5.378.134)
- OPCFoundation.NetStandard.Opc.Ua.Configuration (>= 1.5.378.134)
- OPCFoundation.NetStandard.Opc.Ua.Core (>= 1.5.378.134)
- OPCFoundation.NetStandard.Opc.Ua.Security.Certificates (>= 1.5.378.134)
- OPCFoundation.NetStandard.Opc.Ua.Server (>= 1.5.378.134)
- Zongsoft.Core (>= 7.63.0)
-
net9.0
- OPCFoundation.NetStandard.Opc.Ua (>= 1.5.378.134)
- OPCFoundation.NetStandard.Opc.Ua.Client (>= 1.5.378.134)
- OPCFoundation.NetStandard.Opc.Ua.Configuration (>= 1.5.378.134)
- OPCFoundation.NetStandard.Opc.Ua.Core (>= 1.5.378.134)
- OPCFoundation.NetStandard.Opc.Ua.Security.Certificates (>= 1.5.378.134)
- OPCFoundation.NetStandard.Opc.Ua.Server (>= 1.5.378.134)
- Zongsoft.Core (>= 7.63.0)
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.24.0 | 39 | 10/10/2026 |
| 0.23.0 | 135 | 5/21/2026 |
| 0.22.0 | 127 | 3/16/2026 |
| 0.21.0 | 228 | 11/25/2025 |
| 0.20.0 | 240 | 10/28/2025 |
| 0.18.0 | 224 | 10/23/2025 |
| 0.17.0 | 256 | 9/4/2025 |
| 0.15.0 | 228 | 8/14/2025 |
| 0.14.0 | 224 | 7/14/2025 |
| 0.13.0 | 233 | 7/1/2025 |
| 0.12.0 | 226 | 6/26/2025 |
| 0.11.0 | 353 | 6/13/2025 |
| 0.10.0 | 377 | 6/12/2025 |
| 0.9.0 | 379 | 6/11/2025 |
| 0.8.0 | 243 | 5/28/2025 |
| 0.7.0 | 233 | 5/28/2025 |
| 0.6.0 | 225 | 5/27/2025 |
| 0.5.0 | 233 | 5/27/2025 |