Beispiel #1
0
 /// <summary>
 /// Init TPM Connection with a suitable backend, that requiers some options
 /// </summary>
 /// <param name="providerName">
 /// A <see cref="System.String"/>
 /// </param>
 /// <param name="options">
 /// A <see cref="IDictionary<String, String>"/>
 /// </param>
 public void Init(string providerName, IDictionary <String, String> options)
 {
     _backend = TPMProviders.Create(providerName, options);
 }
Beispiel #2
0
 /// <summary>
 /// Init TPM Connection with a suitable backend
 /// </summary>
 /// <param name="providerName">
 /// A <see cref="System.String"/>
 /// </param>
 public void Init(string providerName)
 {
     _backend = TPMProviders.Create(providerName, null);
 }