In my C++ v140 Video System, I am supposed to be able to add multiple Milestone servers (through a Milestone Integrator written in c# 4.5.2, as a Class Library), then switch between all the cameras for that server. (not master/slaves) This has been causing an issue for me, because my camera list is not refreshing with then selected server, and I was thinking I’d have to use “VideoOS.Platform.SDK.Environment.ReloadConfiguration()” to load the correct Server into memory. However, that method requires the ServerFQID to work. In general, how do I retrieve the ServerFQID after I have performed “VideoOS.Platform.SDK.Environment.AddServer(ServerUri, cc);” or Login?
From your description it is not clear to me whether you are talking about servers with different logins or servers that are all under the same login - e.g. MFA?
If the latter is the case it is pretty straightforward as you will have access to all cameras in the normal way (a tree structure) once you are logged in to the top server.
If the former is the case - you are connecting to different Milestone servers that are not connected, you need to use the MultiEnvironment instead of the EnvironmentManager. Have a look at the Multi-Site Viewer sample for an example of how to work with that.
This worked for me:
var serverFqid = VideoOS.Platform.Configuration.Instance.ServerFQID;