Skip to main content
All docs
V25.1
  • IDataSourceProtectionService.Protect(XElement) Method

    Cryptographically protects the specified XML element.

    Namespace: DevExpress.DataAccess

    Assembly: DevExpress.Data.v25.1.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