Hello everybody,
I am trying to implement Timeout events both for “CStore” and “Echo” requests. I tried the following for CStore request like:
MyDicomClient.RequestTimedOut +=
Client_RequestTimedOut;
And
later implemented the “Client_RequestTimedOut” event as
private void Client_RequestTimedOut(object sender, FellowOakDicom.Network.Client.EventArguments.RequestTimedOutEventArgs e)
{
//My Code goes here
}
This did not seem to work on “TimeOut” after a long time. I didn’t change default timeout setting of 2000mS. But this did not work both for local PACS or Remote PACS server.
BTW, I also tried the Timeout events both for CStore and Echo commands, but failed to get my Timeout events fired.
Can anybody tell me what’s wrong with my code?
Thanks in advance.
Sincerely