NET PGP Library
PgpEncryptorDecryptor Constructor(String,String)
Example 



KellermanSoftware.NetPgpLibrary Namespace > PgpEncryptorDecryptor Class > PgpEncryptorDecryptor Constructor : PgpEncryptorDecryptor Constructor(String,String)
User name from receipt
License key from receipt
Licensed constructor
Syntax
'Declaration
 
Public Function New( _
   ByVal userName As String, _
   ByVal licenseKey As String _
)
'Usage
 
Dim userName As String
Dim licenseKey As String
 
Dim instance As New PgpEncryptorDecryptor(userName, licenseKey)
public PgpEncryptorDecryptor( 
   string userName,
   string licenseKey
)
public:
PgpEncryptorDecryptor( 
   String^ userName,
   String^ licenseKey
)

Parameters

userName
User name from receipt
licenseKey
License key from receipt
Example
PgpEncryptorDecryptor pgpEncryptorDecryptor = new PgpEncryptorDecryptor("place user name here", "place license key here");
Dim pgpEncryptorDecryptor as PgpEncryptorDecryptor = new PgpEncryptorDecryptor("place user name here", "place license key here")
//Trial Mode
PgpEncryptorDecryptor pgpEncryptorDecryptor = new PgpEncryptorDecryptor();
 
//License Mode
PgpEncryptorDecryptor pgpEncryptorDecryptorLicensed = new PgpEncryptorDecryptor("place user name here", "place license key here");
'Trial Mode
Dim pgpEncryptorDecryptor As New PgpEncryptorDecryptor()
 
'License Mode
Dim pgpEncryptorDecryptorLicensed As New PgpEncryptorDecryptor("place user name here", "place license key here")
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PgpEncryptorDecryptor Class
PgpEncryptorDecryptor Members
Overload List