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 47809
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T16:10:51+00:00 2026-05-10T16:10:51+00:00

Greetings, I need a way (either via C# or in a .bat file) to

  • 0

Greetings,

I need a way (either via C# or in a .bat file) to get a list of all the computers on a given network. Normally, I use ‘net view’, but this tends to work (from my understanding) only within your domain. I need the names (or at least the IP Addresses) of all computers available on my network.

Being able to get all computers on a domain that isn’t mine (in which case I’d use WORKGROUP, or whatever the default is) would also work.

  • 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. 2026-05-10T16:10:52+00:00Added an answer on May 10, 2026 at 4:10 pm

    Nmap is good for this – use the -O option for OS fingerprinting and -oX ‘filename.xml’ for output as xml that you can then parse from c#.

    A suitable commandline would be (where 192.168.0.0/24 is the subnet to scan):

    nmap -O -oX 'filename.xml' 192.168.0.0/24 

    leave out the -O if you aren’t interested in guessing the OS – if you just want a ping sweep use -sP, or read the docs for the myriad other options.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Greetings all. I need to get some opinions from those outside of my work
Greetings all, I need help combining some htaccess rewrites, these crazy regular expressions screw
Greetings all, I’m working on a C# program that requires being able to get
Greetings all, I'm looking for a more efficient way to grab multiple users without
Greetings I'm trying to get an xml file from a website which requires me
Greetings, I'm in need of a way where I can execute methods on the
Greetings. Need some assistance with creating a computed column on this table: USE [ScienceWorksSummary]
Greetings, Might be having a brain fart this morning, but I need a way
Greetings good people - I need some help. I have until now buildt web-pages
Greetings. I have a need to have a 'child' modal opended from a colorbox

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.