コード例 #1
0
 public SoapClient(Uri endpointUri, X509Certificate2 certificate, SignAlgorithm signAlgorithm = SignAlgorithm.Sha256)
 {
     HttpClient     = new SoapHttpClient(endpointUri);
     Certificate    = certificate;
     SignAlgorithm  = signAlgorithm;
     XmlManipulator = new XmlManipulator();
 }
コード例 #2
0
 public SoapClient(Uri endpointUri, Certificate certificate, TimeSpan httpTimeout, SignAlgorithm signAlgorithm = SignAlgorithm.Sha256, EetLogger logger = null)
 {
     HttpClient     = new SoapHttpClient(endpointUri, httpTimeout, logger);
     Certificate    = certificate;
     SignAlgorithm  = signAlgorithm;
     XmlManipulator = new XmlManipulator();
     Logger         = logger;
     HttpClient.HttpRequestFinished += (sender, args) => HttpRequestFinished?.Invoke(this, args);
 }