C# Class Zazzles.Data.DPAPI

Afficher le fichier Open project: FOGProject/zazzles

Méthodes publiques

Méthode Description
ProtectData ( byte data, bool userScope ) : byte[]

Securly protect bytes by using local credentials

UnProtectData ( byte data, bool userScope ) : byte[]

Unprotect bytes by using local credentials

Method Details

ProtectData() public static méthode

Securly protect bytes by using local credentials
public static ProtectData ( byte data, bool userScope ) : byte[]
data byte The bytes to protect
userScope bool Encrypt the data as the current user (false means use the local machine)
Résultat byte[]

UnProtectData() public static méthode

Unprotect bytes by using local credentials
public static UnProtectData ( byte data, bool userScope ) : byte[]
data byte The bytes to unprotect
userScope bool Decrypt the data as the current user (false means use the local machine)
Résultat byte[]