Ejemplo n.º 1
0
 public WinGuardService()
 {
     InitializeComponent();
     CanPauseAndContinue         = true;
     CanHandleSessionChangeEvent = true;
     _guardTimer          = new System.Timers.Timer();
     _guardTimer.Elapsed += new ElapsedEventHandler(OnTimedEvent);
     _guardTimer.Interval = 3000;
     _guardTimer.Start();
     _authService    = new WinGuardClientAuthService(ConfigurationManager.AppSettings["Server"]);
     _msgReader      = new MessageReaderService(ConfigurationManager.AppSettings["Server"]);
     _encryptService = new EncryptDecryptService(Keys.AesIV256, Keys.AesKey256);
 }
 public ClientController(IClientAuthService service, IEncryptionService encryptService)
 {
     _service        = service;
     _encryptService = encryptService;
 }
Ejemplo n.º 3
0
 public HomeController(IClientAuthService service)
 {
     _service = service;
 }