Esempio n. 1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="environmentalConfiguration"></param>
 /// <param name="adxeCertificateValidationHandler"></param>
 public FalconPort(IEnvironmentConfiguration environmentalConfiguration, ADXECertificateValidationHandler adxeCertificateValidationHandler)
 {
     _environmentalConfiguration       = environmentalConfiguration;
     _adxeCertificateValidationHandler = adxeCertificateValidationHandler;
     _httpClient         = new HttpClient(_adxeCertificateValidationHandler);
     _httpClient.Timeout = TimeSpan.FromSeconds(300);
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="handler"></param>
 public Validator(ADXECertificateValidationHandler handler)
 {
     _handler = handler;
 }