4D Payments SDK 2016 .NET Edition

Questions / Feedback?

PingResponseTime Property

Returned after calling the Ping method.

Syntax

public int PingResponseTime { get; }
Public ReadOnly Property PingResponseTime As Integer

Default Value

0

Remarks

The PingResponseTime contains the total transaction time, in milliseconds, it took for the transaction to reach the Datawire server identified by the URL passed to the Ping method. This time includes only the time the transaction spent between pinged Datawire server and the FDMS host. This property is filled after calling the Ping method. For instance:


  FDMSRegister.ServiceDiscovery("https://staging1.datawire.net/sd")
  for (int i = 0; i < FDMSRegister.ServiceProviders.Length; i++) {
    FDMSRegister.Ping(FDMSRegister.ServiceProviders[i]);
    Console.WriteLine(FDMSRegister.ServiceProviders[i] + " = " + FDMSRegister.PingResponseTime);
  }

Note: This property does not apply to Rapid Connect implementations.

This property is read-only.

 
 
Copyright (c) 2021 4D Payments Inc. - All rights reserved.
4D Payments SDK 2016 .NET Edition - Version 16.0 [Build 7809]