C# 클래스 Zazzles.Data.DPAPI

파일 보기 프로젝트 열기: FOGProject/zazzles

공개 메소드들

메소드 설명
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[]