Method | 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
|
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) |
return | byte[] |
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) |
return | byte[] |