Пример #1
0
 public BusdoxLocator(string prefix, string hostname, string algorithm, string sml)
 {
     this.hostnameGenerator = new DynamicHostnameGenerator(prefix, hostname, algorithm);
     this.sml = sml;
 }
Пример #2
0
 /// <summary>
 /// Initiate a new instance of BDXL lookup functionality.
 /// </summary>
 /// <param name="prefix">Value attached in front of calculated hash.</param>
 /// <param name="hostname">Hostname used as base for lookup.</param>
 /// <param name="digestAlgorithm">Algorithm used for generation of hostname.</param>
 /// <param name="encoding">Encoding of hash for hostname.</param>
 /// <param name="sml">Custom DNS Server</param>
 private BdxlLocator(string prefix, string hostname, string digestAlgorithm, IBaseEncoding encoding, string sml)
 {
     this.sml = sml;
     this.hostnameGenerator = new DynamicHostnameGenerator(prefix, hostname, digestAlgorithm, encoding);
 }