ISecureStorage.SetAsync(String, String) Method

Definition

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