ISecureStorage.GetAsync(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.
Gets and decrypts the value for a given key.
public:
System::Threading::Tasks::Task<System::String ^> ^ GetAsync(System::String ^ key);
public System.Threading.Tasks.Task<string?> GetAsync (string key);
abstract member GetAsync : string -> System.Threading.Tasks.Task<string>
Public Function GetAsync (key As String) As Task(Of String)
Parameters
- key
- String
The key to retrieve the value for.
Returns
The decrypted string value or null
if a value was not found.
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.