/// <summary> /// Enroll the authenticator with the server. public void Enroll(string b32key) { SecretKey = WinAuthBase32.GetInstance().Decode(b32key); Sync(); }
/// <summary> /// Set the private key for the authenticator /// </summary> /// <param name="b32key">base32 encoded key</param> public void Enroll(string b32key, long counter = 0) { SecretKey = WinAuthBase32.GetInstance().Decode(b32key); Counter = counter; }