DeviceSecureStorage
Wisej.Hybrid.DeviceSecureStorage
Last updated
Wisej.Hybrid.DeviceSecureStorage
Last updated
Namespace: Wisej.Hybrid
Assembly: Wisej.Hybrid (3.5.0.0)
Provides secure storage functionality for sensitive information on the device. This class allows for the storing, retrieving, and deleting of secure information.
This class requires special setup. Access this class through the singleton. See: https://learn.microsoft.com/en-us/dotnet/maui/platform-integration/storage/secure-storage for details.
Initializes a new instance of .
Retrieves the securely stored value associated with the given key.
key
The key for the desired value.
Returns: . The value associated with the specified key if it exists; otherwise, null.
Removes the securely stored value associated with the given key.
key
The key whose value should be removed.
Removes all values stored in secure storage.
Stores a value securely under the given key.
key
The key under which to store the value.
value
The value to be stored.
Returns: . true if the value was successfully removed; otherwise, false.