Share via


DataProtection Class

Definition

Represents the ability to encrypt and decrypt strings using the Windows Data Protection API (DPAPI).

public ref class DataProtection sealed
public sealed class DataProtection
type DataProtection = class
Public NotInheritable Class DataProtection
Inheritance
DataProtection

Methods

DecryptString(String)

Decrypts a specified string.

EncryptString(String)

Encrypts a specified string.

Applies to