Specifies the type of encryption method to use when protecting data.
Namespace: LLCryptoLib.Security.CryptographyAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
C# |
---|
public enum ProtectionType |
Visual Basic |
---|
Public Enumeration ProtectionType |
Visual C++ |
---|
public enum class ProtectionType |
Members
Member name | Value | Description | |
---|---|---|---|
LocalMachine | 0 | The encrypted data is associated with the local machine. Any user on the computer on which the data is encrypted can decrypt the data. | |
CurrentUser | 1 | The encrypted data is associated with the current user. Only a user with logon credentials matching those of the encrypter can decrypt the data. |