473,399 Members | 2,774 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Network Analyzer

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.

Jun 15 '07 #1
11 2794
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.
Jun 15 '07 #2
On Jun 15, 2:15 pm, "valentin tihomirov" <V_tihomi...@best.eewrote:
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.

Jun 15 '07 #3
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#.
Jun 15 '07 #4
On Jun 15, 3:34 pm, "valentin tihomirov" <V_tihomi...@best.eewrote:
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.

Jun 15 '07 #5
On Fri, 15 Jun 2007 12:34:04 -0700, valentin tihomirov
<V_*********@best.eewrote:
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 <xusing .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
Jun 15 '07 #6
rhaazy, could you please post the solution if you find one?

Thanks
SG

"rhaazy" <rh****@gmail.comwrote in message
news:11**********************@m36g2000hse.googlegr oups.com...
On Jun 15, 2:15 pm, "valentin tihomirov" <V_tihomi...@best.eewrote:
>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.

Jun 15 '07 #7

"Peter Duniho" <Np*********@nnowslpianmk.comwrote in message
news:op***************@petes-computer.local...
On Fri, 15 Jun 2007 12:34:04 -0700, valentin tihomirov
<V_*********@best.eewrote:
>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 <xusing .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.
>
Pete
Jun 15 '07 #8
On Fri, 15 Jun 2007 14:08:50 -0700, Ben Voigt [C++ MVP]
<rb*@nospam.nospamwrote:
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 <xusing .NET?" IMHO, that's a pretty
ridiculous exclusion, for a variety of what ought to be trivially obvious
reasons.

Pete
Jun 15 '07 #9
On Jun 15, 6:04 pm, "Peter Duniho" <NpOeStPe...@nnowslpianmk.com>
wrote:
On Fri, 15 Jun 2007 14:08:50 -0700, Ben Voigt [C++ MVP]

<r...@nospam.nospamwrote:
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 <xusing .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.

Jun 16 '07 #10
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
Jun 16 '07 #11
On 17 jun, 00:59, "Bob Johnson" <A...@B.COMwrote:
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.

Jun 16 '07 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: stanley j Mroczek | last post by:
Every thing is on one machine, Programs and sql. Sql is up and running(can test with query analyzer). No changes where made! This was working fine. How do you track this error? What network...
7
by: stan | last post by:
I have .net 2003 and SQL 2000 setup on one system. All I have is one computer (no network). I am able to get to the internet that works. I can run SQL Query Analyzer and it works. The program was...
1
by: HK | last post by:
I just moved an ASP.NET application to a new web server at a different location of ours. The SQL Server machine was moved to that new location at the same time as the web site DNS was pointed to...
0
by: Tag | last post by:
Hello every one i need to develop a network monitoring system i dont have any experience in network programming but i m working on .NET framework from last 2 years using both c# & vb.net ...
3
by: Animesh | last post by:
Hi All, I have a lexical analyzer in flex/bison associated with a lot of custom C function calls linking to external programs which uses quite a lot of global variables and data structures. The...
6
by: amany | last post by:
if any one can help me with a piece of code to anlayze the packets i recieve through TCP/IP to view the layer 3 and layer 2 frame???
3
by: tshad | last post by:
I am finding that our site typically responds pretty well. But sometimes I will be going to the logon page, which should load fast, and I will have to wait about 20 seconds before it displays. ...
0
by: akhtar | last post by:
How to secure your network Check this article to know how a network analyzer continuously monitors traffic on network and provides detailed information about critical problems, virus attacks and...
18
by: NEWSGROUPS | last post by:
I work for a large organization were my team has developed 2 very substantial databases in Access 2000. These databases have been working fine for the last 6 years with minimal issues or problems....
3
by: adlloyd | last post by:
Hi all, I've got 4 servers running several instances (about 12) of an application. This application receives information from and external source and uploads it to a remote SQL Server database...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.