ILookupProtector.Protect(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Protect the data using the specified key.
public:
System::String ^ Protect(System::String ^ keyId, System::String ^ data);
public string Protect (string keyId, string data);
public string? Protect (string keyId, string? data);
abstract member Protect : string * string -> string
Public Function Protect (keyId As String, data As String) As String
Parameters
- keyId
- String
The key to use.
- data
- String
The data to protect.
Returns
The protected data.