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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for