Getting a list of servers

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
oz8hp
Posts: 151
Joined: Mon 18 Feb 2008 13:28
Location: Denmark
Contact:

Getting a list of servers

Post by oz8hp » Fri 19 Mar 2010 10:46

I have applications using the UniDAC components but I don't use any connect dialog - it is all read from .ini file with setup.

But now I would like to get a list of available servers on network - how can this be done?
I have seen it in the builtin connectdialog but I just need the list for other purpose.

Any Delphi sample code out there?

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Mon 22 Mar 2010 10:39

You can use the TUniConnectDialog.GetServerLists method returns the server list.

Post Reply