summaryrefslogtreecommitdiffstats
path: root/TwoStepsAuthenticator.TestApp/ViewModel.cs
diff options
context:
space:
mode:
authorGuillaume <guillaumelacasa@hotmail.com>2013-06-13 20:19:15 +0200
committerGuillaume <guillaumelacasa@hotmail.com>2013-06-13 20:19:15 +0200
commitb8279017597a616b016f8f1def3be11ac9660f5d (patch)
tree26aa7d7f904c5b10baa62361150fbab82de74b0b /TwoStepsAuthenticator.TestApp/ViewModel.cs
parentfb24badd216bc50e5a00ab87d7e7f4abc1208142 (diff)
downloadTwoStepsAuthenticator-b8279017597a616b016f8f1def3be11ac9660f5d.zip
TwoStepsAuthenticator-b8279017597a616b016f8f1def3be11ac9660f5d.tar.gz
TwoStepsAuthenticator-b8279017597a616b016f8f1def3be11ac9660f5d.tar.bz2
Key generator added
Diffstat (limited to 'TwoStepsAuthenticator.TestApp/ViewModel.cs')
-rw-r--r--TwoStepsAuthenticator.TestApp/ViewModel.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/TwoStepsAuthenticator.TestApp/ViewModel.cs b/TwoStepsAuthenticator.TestApp/ViewModel.cs
index 51db3a8..191569f 100644
--- a/TwoStepsAuthenticator.TestApp/ViewModel.cs
+++ b/TwoStepsAuthenticator.TestApp/ViewModel.cs
@@ -72,6 +72,8 @@ namespace TwoStepsAuthenticatorTestApp
public ViewModel()
{
+ var auth = new TwoStepsAuthenticator.Authenticator();
+ this.Key = auth.GenerateKey();
timer = new DispatcherTimer(TimeSpan.FromSeconds(1), DispatcherPriority.Normal, timerCallback, App.Current.Dispatcher);
//timer.Elapsed += timer_Elapsed;
timer.Start();