示例#1
0
 public static IList <IDicomServiceNode> GetRemoteServers()
 {
     using (var bridge = new ServerDirectoryBridge())
     {
         return(SortServers(bridge.GetServers()));
     }
 }
示例#2
0
 public static IDicomServiceNode GetLocalServer()
 {
     using (var bridge = new ServerDirectoryBridge())
     {
         return(bridge.GetLocalServer());
     }
 }
示例#3
0
        public static IDicomServiceNode GetRemoteServerByName(string name)
        {
            if (String.IsNullOrEmpty(name))
            {
                return(null);
            }

            using (var bridge = new ServerDirectoryBridge())
            {
                return(bridge.GetServerByName(name));
            }
        }
示例#4
0
        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)));
            }
        }