4.2.1.2. Retrieving service details. Since the command line did not bring that expected ease of use especially for users with no programming skills, it was necessary to transform the data displayed in the command line into a user-friendly format. Therefore, we needed to retrieve the details of the services being discovered. This phase of the implementation was challenging especially from a programming perspective. The Main method, the ‘‘OnServiceAdded’’ and ‘‘OnServiceResolved’’ were static and it was not possible to retrieve the data in a dynamic array list. Hence, the solution was to get the details (name, regular expression type of service and domain) into the static Array lists in the ‘‘OnServiceAdded’’ and then transform these array lists into arrays in the Main method. Afterwards, these new arrays will serve as arguments to call the form that will display the services and the relative devices in a tree format. The new form is called ‘‘frame3’’ and is located in a separate file ‘‘frame3.cs’’.