Click or drag to resize

PdfLiteSessionProviderAddSession Method

Adds a new PdfLiteSession to the provider.

Namespace:  RadPdf.Lite
Assembly:  RadPdf (in RadPdf.dll) Version: 3.11.0.0 (3.11.0.0)
Syntax
public abstract string AddSession(
	PdfLiteSession session
)

Parameters

session
Type: RadPdf.LitePdfLiteSession
PdfLiteSession to be added to the provider.

Return Value

Type: String

A cryptographically strong key which can be used to retrive this PdfLiteSession from the provider.

Remarks

It is very important that the key returned be unique and hard to guess. Ideally, the key is randomly generated (using a strong generator like RNGCryptoServiceProvider) and at least 128-bit. RAD PDF can generate a key to return using GenerateKey.

See Also