Login using MIP SDK without using the UI

How to login to server without using the LoginDialogue provided in VideoOS.Platform.SDK.UI ? Also when I try the samples in SDK on the same server with http://localhost as server address, the login is successful with windows authentication. How do I use a remote server? If I put the server name, port the login fails.

Thanks

Soudamini

Please explore the CameraStreamResolution sample, this sample does the login using code and not the LoginForm.

https://doc.developer.milestonesys.com/html/index.html?base=samples/camerastreamresolution.html&tree=tree_2.html

Thank you so much! I could login to server without using UI. Is there a way to connect to a remote machine? I mean the SDK Sample running on a different machine than the milestone server.

When I try to connect from a different machine I get invalid credential exception.

A MIP SDK based application can login remotely as can the Smart Client.

If the Smart Client and the MIP SDK samples using the login form can login, then the hardcoded login can work for the same user and the same PC. Try to verify that network connection is good by using the Smart Client (or a sample) and then use the same address, username and password when connecting.

Try to experiment with the user:

Try

[username]

[domainname]\[username]

[servername]\[username]

Also try to switch to basic authentication and test with a newly created basic user.

Please verify that you have the newest version of the MIP SDK (currently 2020R1).