Laggin_53249
Sep 14, 2007Nimbostratus
m_interface.initialize() always returns true, isValid() always returns false?
I can't believe I haven't run into this until now.
As long as I supply a valid ip address for the m_interface.initialize(Host . . .value, the return value is always true, regardless if the usename/password combination are invalid.
So I decided after m_interface.initialize(..) = true, I would try a m_interface.ConnectionInfo.isValid() call, assuming this would verify the credentials were valid. This always returned false, even if the credentials supplied are correct.
I know I'm missing something really simple here.
How can I validate a proper connection to an interface . . .validating username/password/rights/etc.?