VideoOS.Platform.ConfigurationItems.RecordingServer Class Reference

From a ManagementClient plug-in, How can I find a list of recording servers AND the related cameras? (Especially with Milestone Corporate).

VideoOS.Platform.ConfigurationItems.RecordingServer Class

I have tried to use this class, but get a syntax error.

There seems to be NO obvious REFERENCE for it.

  1. [_]: What Reference to Add to DotNet solution to access VideoOS.Platform.ConfigurationItems.RecordingServer ?
  2. [_]: Is there an instance I need to use to access VideoOS.Platform.ConfigurationItems.RecordingServer ?

(was posted a few weeks ago, but no reply was applied to the post)

https://developer.milestonesys.com/s/question/0D50O00004XdThESAV/reference-for-configurationitemsrecordingserver

string recordingServerToFind = item.FQID.ServerId.Id.ToString().ToUpper();
ManagementServer managementServer = new ManagementServer(EnvironmentManager.Instance.MasterSite);
ICollection<RecordingServer> recordingServers = managementServer.RecordingServerFolder.RecordingServers;
foreach (RecordingServer recordingServer in recordingServers)
{
    if (recordingServer.Id.ToUpper() == recordingServerToFind)
    {
        innerText = recordingServer.Name;
        break;
    }
}

I think this will solve it for me. Answer from ConfigAddCameras.sln that I found in another post on this forum.

One of the problems with the Reference not working was probably caused from using an Old DLL.

Strange; the post you mention does not come up when I try to find it by doing an “Unanswered Questions” filter. Is anything outstanding now?