I am struggling with the new TOTP ...unable to connect. Can someone help with basic code ?
SmartApi connect = new SmartApi(api_key, JWTToken, RefreshToken);
OutputBaseClass obj = new OutputBaseClass();
//Login by client code and password......... old code
obj = connect.GenerateSession(Client_code, Password);
//Login by client code and password .....new code ?? how
//obj = connect.GenerateSession(Client_code, Password, totp);
how to get the totp and pass it to GenerateSession ?