We are using the Configuration.Instance.GetItemsByKind(Kind.Camera) to return a list of camera items which works fine when we first connect. But if you then change, say disable a camera in the Management Client, then do another GetItemsByKind command, it will return the old list.
I tried adding a Configuration.Instance.RefreshConfiguration(EnvironmentManager.Instance.MasterSite.ServerId,Kind.Camera); before calling the GetItemsByKind, but that doesn’t seem to work.
Any ideas how I can get the cached list of camera information to update each time I call GetItemsByKind?
The only way I’ve found to get the new list with changes it to disconnect and reconnect which is undesirable.