[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.sdk

PING from dotnet applicatin

zxc

10/18/2002 3:18:00 PM

Hi,

Is there any possibility to do programmatically a PING functionality
using .NET classes, without any unmanaged code (I'know how to
do it with ActiveX, icmp.dll or C/winsock code).

best regards
zxc


3 Answers

(Elan Zhou(MS))

10/21/2002 10:13:00 AM

0

Hi,

You can check the following sample code:
http://www.christopherlewis.com/P...

Regards,
Elan Zhou
This posting is provided "AS IS" with no warranties, and confers no rights.
Got .Net? http://www.got...

(Zane Thomas [.NET MVP])

10/21/2002 7:45:00 PM

0

On Fri, 18 Oct 2002 16:18:17 +0200, "zxc" <zxc-remowe@remowe-polsl.gliwice.pl>
wrote:

>Is there any possibility to do programmatically a PING functionality
>using .NET classes,

You can either use System.Net.Socket and the ICMP protocol or you could try a
third-party component, such as my ICMP component at www.abderaware.com ($29).


--
*--------={ Fine Art for .NET }=--------*
| The Best Internet Components for .NET |
| Turn on, tune in, download. |
| @ |
| www.abderaware.com |
*---------------------------------------*
zane a@t abderaware.com

Phil Wilson

12/10/2002 9:54:00 PM

0

When you get to XP or .NET server, there's a WMI class Win32_PingStatus that you can use through
ManagementObject etc.

"zxc" <zxc-remowe@remowe-polsl.gliwice.pl> wrote in message news:#FkbvDrdCHA.640@tkmsftngp12...
> Hi,
>
> Is there any possibility to do programmatically a PING functionality
> using .NET classes, without any unmanaged code (I'know how to
> do it with ActiveX, icmp.dll or C/winsock code).
>
> best regards
> zxc
>
>