Exemple #1
0
 public secure()
 {
     _configuration = Configuration.configuration();
     _cipherService = new CipherService();
     _os            = RuntimeInformation.OSDescription;
     _settings      = get_settings();
 }
Exemple #2
0
 public secure(resultClass token)
 {
     _configuration = Configuration.configuration();
     _cipherService = new CipherService();
     _os            = RuntimeInformation.OSDescription;
     _token         = token;
     _settings      = get_settings();
     _debug         = token.debug;
 }
Exemple #3
0
 public secure(resultClass token)
 {
     _configuration = Configuration.configuration();
     _cipherService = new CipherService();
     _os            = RuntimeInformation.OSDescription;
     _token         = token;
     _settings      = get_settings();
     _debug         = token.debug;
     if (_debug)
     {
         Console.WriteLine("exe path: {0}", System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location));
     }
 }