public static class DesktopSecretStore Secret storage for hosts and platforms that cannot provide it.
Fields
MaximumBinarySecretBytes
public const int MaximumBinarySecretBytes = 65536 The largest binary secret, in bytes, that every provider stores: 64 KiB.
Remarks
Text secrets stay limited to 2560 UTF-8 bytes. On Windows a binary secret above 2560 bytes is kept in a file protected with DPAPI for the user, referenced from its credential.
Methods
Unavailable
public static IDesktopSecretStore Unavailable(PlatformUnavailableReason reason) Creates a secret store that reports every request unavailable for reason.
Remarks
Nothing throws except for a missing or invalid argument and caller cancellation.