Method GenerateSecureState
- Namespace
- DisCatSharp
- Assembly
- DisCatSharp.dll
GenerateSecureState(ulong)
Generates a secured state bound to the user id.
If the bot is completely restarted, such a state can't be decrypted anymore.
To decrypt this state, use ReadSecureState(string)
public string GenerateSecureState(ulong userId)
Parameters
userId
ulongThe user id to bind the state on.