Reconnecting Ticker after connecting to another WiFi router

I have two ISPs connected to two different WiFi routers. If the currently connected WiFi router fails, the other WiFi router is connected.

When the WiFi router is changed, ticker stops receiving ticks. What would be the correct way to start getting ticks again ? Do i need to:
A. Just do ticker.Close(); and then do ticker.Connect();
B. Close Ticker completely, e.g. by doing ticker = null; and then doing ticker = new Ticker(ApiKey, KiteAccessToken);
C. Do the whole 'Log-In Flow' all over again as explained at
  • sujith
    You don't have to do anything. dotnetkiteconnect will take care of it for you. You just need to enable reconnect while initializing ticker.
    You can check out the sample code here.
Sign In or Register to comment.