WindowsDpapiKeyStore

public sealed class WindowsDpapiKeyStore : IAiKeyStore
Windows implementation of IAiKeyStore. Encrypts each key with DPAPI (current user scope, so other Windows accounts on the same machine cannot read it) and writes the ciphertext to a per-provider file under %APPDATA%\McNeel\Grasshopper2.

Methods

DeleteKey

#
public void DeleteKey(
provider
)
DeleteKey

SetKey

#
public void SetKey(
provider,
apiKey
)
SetKey

TryGetKey

#
public string TryGetKey(
provider
)
TryGetKey