The EncryptionProvider type exposes the following members.

Methods

  Name Description
Public method Static member Decrypt
Decrypts the base64-encoded encrypted data using DPAPI.
Public method Static member Deserialize
Reads data from a file, decrypts it based on a current user store, converts it from base 64 string and deserializes it.
Public method Static member Encrypt
Encrypts the data using DPAPI, returns a base64-encoded encrypted string.
Public method Static member Serialize
Serializes data, converts it to base 64 string, encrypts it based on a current user store and saves it to a file.

See Also