Пример #1
0
        public IbmSwTpm(IDictionary <string, string> parameters)
            : base(DictionaryHelper.GetBool("debug", parameters, false))
        {
            SetupLogger();
            _remotePort = DictionaryHelper.GetInt("port", parameters, 1234);
            _remoteHost = DictionaryHelper.GetString("host", parameters, "localhost");


            //_connection.ReceiveTimeout = 20000;
        }
Пример #2
0
 public TPMDevice(IDictionary <string, string> parameters)
     : this(parameters["DeviceName"], DictionaryHelper.GetBool("debug", parameters, false))
 {
 }