<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.7.0-preview3.19551.4" />

ProtectedConfigurationProvider

Is the base class to create providers for encrypting and decrypting protected-configuration data.

Initializes a new instance of the ProtectedConfigurationProvider class using default settings.

public abstract XmlNode Decrypt(XmlNode encryptedNode)

Decrypts the passed XmlNode object from a configuration file.

public abstract XmlNode Encrypt(XmlNode node)

Encrypts the passed XmlNode object from a configuration file.