Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8749209
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T12:39:21+00:00 2026-06-13T12:39:21+00:00

I am trying to write an wpf app that allows me to browse a

  • 0

I am trying to write an wpf app that allows me to browse a list of servers/computers on a network (AD or Workgroup).

In the past I have opened explorer type windows for folder or directory browsing using code such as

System.Diagnostics.Process.Start("Explorer.exe");

But in this instance I don’t need the user to select a folder or file just view the names of the machines on the network.

Can anyone suggest any .net classes or namespaces that support this type of functionality? I’ve done some cursory reading on WMI and it looks as if the System.Management namespace may be the route to take. Can anyone provide me with some suggestions to narrow in on what methods I may want to look at from this namespace?

-Cheers

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T12:39:22+00:00Added an answer on June 13, 2026 at 12:39 pm

    C#: you can use Gong Solutions Shell Library

    using System.Collections;
    using System.Collections.Generic;
    using GongSolutions.Shell;
    using GongSolutions.Shell.Interop;

    public sealed class ShellNetworkComputers : IEnumerable<string>
    {
        public IEnumerator<string> GetEnumerator()
        {
            ShellItem folder = new ShellItem((Environment.SpecialFolder)CSIDL.NETWORK);
            IEnumerator<ShellItem> e = folder.GetEnumerator(SHCONTF.FOLDERS);
    
            while (e.MoveNext())
            {
                Debug.Print(e.Current.ParsingName);
                yield return e.Current.ParsingName;
            }
        }
    
        IEnumerator IEnumerable.GetEnumerator()
        {
            return GetEnumerator();
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to write a simple WPF app that has two ellipses, joined by
I have a WPF Application that I have been trying to write in the
I'm trying to style Comboboxes in WPF so that they are white, and have
Trying to write app for service technicians that will display open service calls within
I'm trying to have a WPF canvas with rounded rectangles on that I can
I have a WPF application that mostly follows MVVM, which I am trying to
I'm trying to write a (very minimal) WPF app which will look at a
I trying to write a method that will look at a wpf usercontrol that
I'm trying to write a WPF application that will update a set of text
I'm trying to write a custom WPF ValidationRule to enforce that a certain property

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.