The class library diCrSysPKINet.dll
provides an interface for .NET programmers to
CryptoSys PKI.
All methods in diCrSysPKINet.dll
are straight static methods, so there is no need to create any
objects. Just add a reference to it in your project, use the CryptoSysPKI
namespace and you are away.
Introduction | How to use | CryptoSys PKI | Help Documentation | Structure | References | Comment
The C# source code for the class library is available so you can change or add to it if you want (but you are on your own then!).
If you want to link statically instead in your C# project, then just add the source code module CryptoSysPKI.cs
from the distribution to your project and don't bother adding any references to the class library.
diCrSysPKINet.dll
(installed by default in C:\Program Files (x86)\CryptoSysPKI\DotNet
)
using CryptoSysPKI;or (for VB.NET)
Imports CryptoSysPKIto your code.
using CryptoSysPKI; int n = General.Version(); Console.WriteLine("Version = {0}", n);or in VB.NET
Imports CryptoSysPKI Dim n As Integer n = General.Version() Console.WriteLine("Version = {0}", n)
See the example test code provided in the distribution download for both C# and VB.NET.
To use the .NET class library, you need to download and install the trial version of the core CryptoSys PKI, unless you already have a copy installed.
+--------------+ +-------------------+ +-------------------+ | Your | (References) | | (Calls) | | | .NET project |------------->| diCrSysPKINet.dll |--------->| diCrPKI.dll | | | | | | | +--------------+ +-------------------+ +-------------------+ [Class Library] [Core Win32/64 DLL] using CryptoSysPKI; OR Imports CryptoSysPKI
To contact us or comment on this page, please send us a message.
This page last updated 27 September 2020.