CryptoSys PKI CryptoSys PKI .NET Class Library

Introduction

A class library DLL is a cleaner, simpler interface for programmers in all .NET languages including C# and VB.NET. Our class library diCrSysPKINet.dll provides an interface for .NET programmers to our CryptoSys PKI Toolkit. All methods in diCrSysPKINet.dll are straight static methods, so there is no need even to create any objects. Just add a reference to it in your project and use the CryptoSysPKI namespace and you are away.

Introduction | How to use | The CryptoSys PKI Toolkit | Help Documentation | Structure | References

The C# source code for the class library is available so you can change or add to it if you want. If you want to link statically instead in your C# project, then just include the CryptoSysPKI.cs module from the source code in your project and don't bother adding any references to the class library.

How to use

  1. Make sure the CryptoSys PKI Toolkit is installed on your system.
  2. Copy the dotnet diCrSysPKINet.dll library file into a convenient folder (Hint: the original is included in the main installation for all versions and should be in the folder C:\Program Files\CryptoSysPKI\DotNet unless you installed it in a different directory).
  3. In your application, add a reference to the library:
    1. Project > Add Reference.
    2. In the .NET tab, click on the Browse button to find and select the library file diCrSysPKINet.dll.
    3. Click on OK and the wizard will add the reference of the PKI library to your project.
  4. Add the line (for C#)
    using CryptoSysPKI;
    
    or (for VB.NET)
    Imports CryptoSysPKI
    
    to your code.
  5. Use the PKI methods at will, e.g. in C#
    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.

Help Documentation

CryptoSysPKI.chm (109 kB or zipped, 92 kB) contains the Ndoc-created help documention, or browse the on-line version.

The CryptoSys PKI Toolkit

To use the .NET class library, you need to download and install the trial version of the core CryptoSys PKI Toolkit, unless you already have a copy installed.

Structure

Your          (References)                     (Calls)
.NET project  -------------> diCrSysPKINet.dll --------> diCrPKI.dll
                             [Class Library]          [Core Win32 DLL]
using CryptoSysPKI;
OR                 
Imports CryptoSysPKI

References

This page last updated 4 January 2008

Valid HTML 4.01! Valid CSS

CryptoSys Home | PKI Home | Purchase | Search | Cryptography Software Code | Contact us
Copyright © 2006-8 D.I. Management Services Pty Limited ABN 78 083 210 584, Sydney, Australia. All rights reserved.
<www.di-mgt.com.au>   <www.cryptosys.net>