Hello,
I am trying to connect to an Xprotect environment to get the image of the a camera depending on its position.
I cannot use the C#/.NET SDK and thus am developing the solution using the Protocol Integration.
The first step to create the solution would be to connect via Basic User connection. I already looked into the LoginDotNet and TcpVideoViewer examples which aren’t that straightforward for someone that isn’t well versed in C#. I did find that to initiate the connexion you have to get a Token. From my understanding of the GetAccessTokenForBasicUserAsync function the way to do so is to send a request to https://:/connect/token.
The thing is when I do that I get a 404 Not found error.
For some reason I can access to the https://:/ManagementServer/ServerCommandServiceOAuth.svc using my credentials but this just gives me access to a web page and not the token.
There are indications in this post as how to do so but I still did not manage to get a token: https://developer.milestonesys.com/s/question/0D53X00007URT7WSAX/obtain-status-of-device-how-get-token-and-instance-id-
Is it possible to have clear indications on how to login to the management server ?
Thank you