DefaultReportDesignerContainer.RegisterSecureDataConverter<T>() Method

Enables the Web Report Designer to use a custom algorithm for encryption of data source connection strings on the client.

Namespace: DevExpress.XtraReports.Web.ReportDesigner

Assembly: DevExpress.XtraReports.v18.1.Web.dll

Declaration

public static void RegisterSecureDataConverter<T>()where T : ISecureDataConverter
Public Shared Sub RegisterSecureDataConverter(Of T As ISecureDataConverter)

Type Parameters

Name Description
T

When the SQL Data Source wizard obtains connection strings from the Web.config file, only the connection name is serialized with the report definition.

You can register a custom connection string provider. Based on the registration mode you choose, all the connection parameters or the connection name only are serialized along with a report data source. When the report serialized with connection parameters is passed to the client, these parameters are encrypted by applying the MachineKey algorithm. To provide a custom encryption mechanism, use the ISecureDataConverter interface.

See Also