API reference
Method GenerateSecureState
- Namespace
- DisCatSharp
- Assembly
- DisCatSharp.dll
GenerateSecureState(ulong)
Generates a secured state bound to the user id.
The state remains decryptable while the RSA key at RsaKeyFilePath is preserved.
To decrypt this state, use ReadSecureState(string)
public string GenerateSecureState(ulong userId)
Parameters
userIdulongThe user id to bind the state on.