Skip to main content
All docs
V23.2

IDataSourceProtectionService.Protect(XElement) Method

Cryptographically protects the specified XML element.

Namespace: DevExpress.DataAccess

Assembly: DevExpress.Data.v23.2.dll

NuGet Package: DevExpress.Data

Declaration

void Protect(
    XElement dataSourceXElement
)

Parameters

Name Type Description
dataSourceXElement XElement

An XML element to protect.

Remarks

The Protect method implementation can use the Protect(String) method to encrypt data.

See Also