C# Класс Zazzles.Data.DPAPI

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

ProtectData() публичный статический Метод

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)
Результат byte[]

UnProtectData() публичный статический Метод

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)
Результат byte[]