public static IList <IDicomServiceNode> GetRemoteServers() { using (var bridge = new ServerDirectoryBridge()) { return(SortServers(bridge.GetServers())); } }
public static IDicomServiceNode GetLocalServer() { using (var bridge = new ServerDirectoryBridge()) { return(bridge.GetLocalServer()); } }
public static IDicomServiceNode GetRemoteServerByName(string name) { if (String.IsNullOrEmpty(name)) { return(null); } using (var bridge = new ServerDirectoryBridge()) { return(bridge.GetServerByName(name)); } }
public static IList <IDicomServiceNode> GetRemoteServersByAETitle(string aeTitle) { if (String.IsNullOrEmpty(aeTitle)) { return(new List <IDicomServiceNode>()); } using (var bridge = new ServerDirectoryBridge()) { return(SortServers(bridge.GetServersByAETitle(aeTitle))); } }