T
Tim C
Is there a way to do a Ping from C# if you are not logged
in as administrator on W2k?
I am trying to do a Ping from C# running under ASP.NET.
I have found several examples on the web, mostly derived
from Lance Olson's code.
The examples use raw sockets and I get a permissions
error: "An attempt was made to access a socket in a way
forbidden by its access permissions".
The KB article Q195445 indicates that raw sockets can only
be opened by an administrator under W2k and there is no
workaround.
I found a reference to ICMP.DLL, but its use is reported
to be highly discouraged. The examples are C++.
in as administrator on W2k?
I am trying to do a Ping from C# running under ASP.NET.
I have found several examples on the web, mostly derived
from Lance Olson's code.
The examples use raw sockets and I get a permissions
error: "An attempt was made to access a socket in a way
forbidden by its access permissions".
The KB article Q195445 indicates that raw sockets can only
be opened by an administrator under W2k and there is no
workaround.
I found a reference to ICMP.DLL, but its use is reported
to be highly discouraged. The examples are C++.