We have federated architecture and have successfully logged into the sites using SDK.
Next, the child’s site is detached from the parent.
When we use VideoOS.Platform.SDK.Environment.IsLoggedIn(ChildSiteUri) for the child site returns true. Also, the call smo.SiteItem.HasChildren succeeds returning children are available.
How do we know if the child site is detached when we are already logged into the sites without reconnecting or restarting the application?
VideoOS.Platform.SDK.Environment.IsLoggedIn(ChildSiteUri) for the child site returns true.
This is also technically correct! The MIP SDK logs in on each site, and it stays logged in even if the site is detached.
You should restart and login again in this scenario.
It is possible to detect the detach if you subscribe to message communication System.SystemConfigurationChangedDetailsIndication or System.SystemConfigurationChangedIndication.
When this is detected I guess your service or app could do a restart or remove all server and login again.