Network Analyzer

  • Thread starter Thread starter rhaazy
  • Start date Start date
R

rhaazy

I need to add a method to an existing application that will scan the
local area network and return all MAC addresses. What is the easiest
way to go about doing this?

Thanks.
 
I am sure that C# does not have the feature embeddid in the language and you
have more chances asking networking experst on appropriate forums. Yet, I
see that asking inappropriate questions in language forums is a common
practice among so called programmers.
 
I am sure that C# does not have the feature embeddid in the language and you
have more chances asking networking experst on appropriate forums. Yet, I
see that asking inappropriate questions in language forums is a common
practice among so called programmers.

Actually C# does have the capability to perform such actions, with
combinations of various networking protocols and perhaps WMI (API).
There is also a method that could use SNMP. I also could have typed
various other details describing what exactly it was I wanted to
accomplish. I posted in this forum hoping someone with prior
experience in the area would comment. Unfortunately you commented...
I have to say that there is no reason to be rude, and if you didnt
mean your comment to be rude, well you should rething you phrase your
concerns. However I thank you for what little advise you did offer.
 
I'm so unpleasant because people, who do things "professionally", even do
not distinguish between language supported statements/operators and library
functions. Languages do not have access to SNMP. Libraries like Win32 and
..Net do. These libs are beyound language specification, which may only
describe how to access functions in that library. This means, there is no
such method in C#.
 
I'm so unpleasant because people, who do things "professionally", even do
not distinguish between language supported statements/operators and library
functions. Languages do not have access to SNMP. Libraries like Win32 and
.Net do. These libs are beyound language specification, which may only
describe how to access functions in that library. This means, there is no
such method in C#.

1.) I never claimed to be a professional.
2.) Only reason I posted in this forum was because I hoped to get some
kind of code snippet in C# (as opposed to some other .NET language)

I will appologize for not making it clear in my first post that I was
using .NET. I promise I wont make that mistake again.
 
I'm so unpleasant because people, who do things "professionally", even do
not distinguish between language supported statements/operators and
library
functions. Languages do not have access to SNMP. Libraries like Win32 and
.Net do. These libs are beyound language specification, which may only
describe how to access functions in that library. This means, there is no
such method in C#.

For better or worse, while this newsgroup says "csharp", it is clearly by
virtue of common usage not _limited_ to questions pertaining only to the
language-specific aspects of C# programming. In fact, I'd guess that
fewer than half of the questions are about the language.

I'd agree with you if you asserted that it _ought_ to be restricted only
to C# language questions. When I first came across these newsgroups, I
tried using the m.p.dotnet.framework newsgroup as a place for .NET
questions, limiting my use of this newsgroup to language-specific
questions. But a) I got very little response in the much-less-viewed
m.p.dotnet.framework newsgroup, and b) it was clear to me that most of the
active, general-purpose "how do I do <x> using .NET" questions were here
in the C# newsgroup.

Given the close coupling of C# with the .NET Framework, the co-mingling of
the two is not even all that surprising or offensive. Sure, I'd prefer
things remain nicely organized by apparent newsgroup charter, but there is
no official charter as near as I can tell, and the de facto community
standard is to include .NET Framework questions right here in this
newsgroup.

Pete
 
rhaazy, could you please post the solution if you find one?

Thanks
SG
 
Peter Duniho said:
For better or worse, while this newsgroup says "csharp", it is clearly by
virtue of common usage not _limited_ to questions pertaining only to the
language-specific aspects of C# programming. In fact, I'd guess that
fewer than half of the questions are about the language.

I'd agree with you if you asserted that it _ought_ to be restricted only
to C# language questions. When I first came across these newsgroups, I
tried using the m.p.dotnet.framework newsgroup as a place for .NET
questions, limiting my use of this newsgroup to language-specific
questions. But a) I got very little response in the much-less-viewed
m.p.dotnet.framework newsgroup, and b) it was clear to me that most of the
active, general-purpose "how do I do <x> using .NET" questions were here
in the C# newsgroup.

Given the close coupling of C# with the .NET Framework, the co-mingling of
the two is not even all that surprising or offensive. Sure, I'd prefer
things remain nicely organized by apparent newsgroup charter, but there is
no official charter as near as I can tell, and the de facto community
standard is to include .NET Framework questions right here in this
newsgroup.

Still, valentin is right in this case. The question doesn't even fall in
that category, because it's not possible using only the .NET Base Class
Libraries.
 
Still, valentin is right in this case. The question doesn't even fall
in that category, because it's not possible using only the .NET Base
Class Libraries.

If I follow the logic of your reply here, I can only conclude that a
person should only post a question here once they have definitively
determined that they _can_ in fact accomplish their goal using .NET.

First: while I don't know whether the OP's goal can be accomplished in
..NET, in their subsequent reply they claim that using WMI (which is
accessible via .NET) it can be done. Granted, that begs the question why
they asked if it's possible in the first place, but still it suggests it
can be done and so even by the rule you stipulate would allow the question
they asked.

Second: if you must definitively determine that something is possible
using .NET prior to posting here, that rules out the entire class of
questions of the form "can I do <x> using .NET?" IMHO, that's a pretty
ridiculous exclusion, for a variety of what ought to be trivially obvious
reasons.

Pete
 
If I follow the logic of your reply here, I can only conclude that a
person should only post a question here once they have definitively
determined that they _can_ in fact accomplish their goal using .NET.

First: while I don't know whether the OP's goal can be accomplished in
.NET, in their subsequent reply they claim that using WMI (which is
accessible via .NET) it can be done. Granted, that begs the question why
they asked if it's possible in the first place, but still it suggests it
can be done and so even by the rule you stipulate would allow the question
they asked.

Second: if you must definitively determine that something is possible
using .NET prior to posting here, that rules out the entire class of
questions of the form "can I do <x> using .NET?" IMHO, that's a pretty
ridiculous exclusion, for a variety of what ought to be trivially obvious
reasons.

Pete

I never asked if it could be done...I already knew that, what I asked
was for someone who possibly had encountered the issue before to offer
some advise. That is it. Period. I don't understand why this has
turned into such a drama.
Thank you everyone for your responses.
 
RE:
<< I don't understand why this has turned into such a drama>>

Because programmers are incredibly emotional. Just consider the "religious
ferver" with which open source folks hate Microsoft.

Also, just post a question here (labeled as off topic, of course) about the
merits of having a degree in computer science (given that such a degree
doesn't predict that someone will be a good programmer) and watch the
rioting begin.

Oops - I might have just incited another riot...

-B
 
RE:
<< I don't understand why this has turned into such a drama>>

Because programmers are incredibly emotional. Just consider the "religious
ferver" with which open source folks hate Microsoft.

Also, just post a question here (labeled as off topic, of course) about the
merits of having a degree in computer science (given that such a degree
doesn't predict that someone will be a good programmer) and watch the
rioting begin.

Oops - I might have just incited another riot...

-B

Exactly, I'm just glad that most people are willing to answer
questions. To me, as a novice programmer, people claiming that a
certain topic/post is not fully compliant without offering any real
help come off as elitist.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top