ISecureStorage.SetAsync(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.
Sets and encrypts a value for a given key.
public:
System::Threading::Tasks::Task ^ SetAsync(System::String ^ key, System::String ^ value);
public System.Threading.Tasks.Task SetAsync (string key, string value);
abstract member SetAsync : string * string -> System.Threading.Tasks.Task
Public Function SetAsync (key As String, value As String) As Task
Parameters
- key
- String
The key to set the value for.
- value
- String
Value to set.
Returns
A Task object with the current status of the asynchronous operation.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.