'IsServerConnected' works incorrectly with invalid username and password

Hi!

I try to get status server with invalid username and password.

My steps are:

сredentialCache = Util.BuildCredentialCache( uri, login, password, authType);

VideoOS.Platform.SDK.Environment.Initialize();

VideoOS.Platform.SDK.Environment.AddServer( uri, сredentialCache );

VideoOS.Platform.SDK.Environment.IsServerConnected(uri); - false

VideoOS.Platform.SDK.Environment.IsServerConnected(uri); - true

VideoOS.Platform.SDK.Environment.IsServerConnected(uri); - true

VideoOS.Platform.SDK.Environment.IsServerConnected(uri); - true

Why I get ‘true’ starting with second call IsServerConnected?

How fix it? Or how can I check invalid login status?

I identified this as a known issue that we discovered recently. This means that I can tell you that there is a fix in MIP SDK 2019R3 when it is released. (2019R3 is expected to be released in October)

It’s great! Thank you for the answer! I will wait the fix in new release!

See - https://supportcommunity.milestonesys.com/SCRedir?art=000018548&lang=en_US