Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion Quick way to see if a Computer is on the LAN without a Ping

View parsed - Show only message text

Path: g2news2.google.com!news3.google.com!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread1.news.pas.earthlink.net.POSTED!faed5bbe!not-for-mail
From: "Michael D. Ober" <obermd.@.alum.mit.edu.nospam>
Newsgroups: microsoft.public.dotnet.framework
References: <B43E01E5-5AFF-4ED6-A422-9FFDDD9252C9@microsoft.com>
Subject: Re: Quick way to see if a Computer is on the LAN without a Ping
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1807
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807
Message-ID: <P69bg.281$K71.200@newsread1.news.pas.earthlink.net>
Date: Fri, 19 May 2006 01:23:59 GMT
NNTP-Posting-Host: 63.227.12.15
X-Complaints-To: abuse@earthlink.net
X-Trace: newsread1.news.pas.earthlink.net 1148001839 63.227.12.15 (Thu, 18 May 2006 18:23:59 PDT)
NNTP-Posting-Date: Thu, 18 May 2006 18:23:59 PDT
Organization: EarthLink Inc. -- http://www.EarthLink.net

Have you tried it?  The Windows ping.exe program is available to general
user accounts.

Mike Ober.

"Philip K" <Phil...@discussions.microsoft.com> wrote in message
news:B43E01E5-5AFF-4ED6-A422-9FFDDD9252C9@microsoft.com...
> I need a quick responsive (say 100ms) way to check if a computer is on the
> LAN from a .NET program that is run by a low level user.
>
> Is there a way?
>
> Apparently Ping (ICmp over raw socket) can only be done by an admin user -
> so I am told.
> I am am running with these permissions:
> [assembly: PermissionSetAttribute(SecurityAction.RequestMinimum, Name =
> "LocalIntranet")]
> [assembly: SocketPermissionAttribute(SecurityAction.RequestMinimum,
> Unrestricted=true)]
>




Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google