EasyByte Software

Welcome to EasyByte Software

Home Buy Online Products Downloads Support
ASP and dotNET
Further Information



PGPGetFingerprint Method

Cryptocx v7 User Guide


PGPGetFingerprint Method

This is the method that you use to get the fingerprint for a given key.


Description Returns a fingerprint for a given key.

x = object.PGPGetFingerprint

The syntax of the PGPGetFingerprint method has these parts:

Part Description
object A Cryptocx v7 control.
x A string that becomes the keys fingerprint after the method has run. If the specified key(s) are not in the keyrings then the method will return an empty string.

Remarks If for whatever reason the method fails to complete, the method will return some text stating exactly what has gone wrong.

You have to specify the key as a string to the PublicKey or SecretKey properties of Cryptocx.



Example Sample Visual Basic Code to get the fingerprint for a key.

Where Cryptocx is an instance of a Cryptocx Control.

'' Get the fingerprint for a Key

Dim theResult As String
Dim Cryptocx As New EasyByte_Software.Cryptocxv7

Cryptocx.LicenseKey = "DEMO"
Cryptocx.PublicKey = txtKeyFingerprint.Text
Cryptocx.WorkingFolder = "C:\"

'' Get and display the fingerprint for the key

MsgBox Cryptocx.PGPGetFingerPrint

'' Free memory resources

Set Cryptocx = Nothing





Back to Contents Page


Click here to set this great site as your home page

Or click here to add it to your Favorites.


Copyright (c) EasyByte Software 1998-2008, info@easybyte.com