¡@

Home 

c# Programming Glossary: ping

Get a list of all computers on a network w/o DNS

http://stackoverflow.com/questions/105676/get-a-list-of-all-computers-on-a-network-w-o-dns

aren't interested in guessing the OS if you just want a ping sweep use sP or read the docs for the myriad other options...

Get IPv4 addresses from Dns.GetHostEntry()

http://stackoverflow.com/questions/1059526/get-ipv4-addresses-from-dns-gethostentry

IPv4 machine gives a good IPv4 address... and doing a ping 4 machinename from itself gives the correct IPv4 address...... from itself gives the correct IPv4 address.... but pinging it regularly from itself gives 1 . How can I get the IPv4..

TraceRoute and Ping in C#

http://stackoverflow.com/questions/142614/traceroute-and-ping-in-c-sharp

and Ping in C# Does anyone have C# code handy for doing a ping and traceroute to a target computer I am looking for a pure.. code solution not what I'm doing now which is invoking the ping.exe and tracert.exe program and parsing the output. I would.. output. I would like something more robust. c# networking ping traceroute share improve this question Although the Base..

List the IP Address of all computers connected to a single LAN

http://stackoverflow.com/questions/1993891/list-the-ip-address-of-all-computers-connected-to-a-single-lan

scans up to 200 in the given IP naming convention by pinging and waiting for a response. No response no computer. It can.. not really going to find anything more reliable than ping ing or arping ing addresses on the same subset. I implemented.. going to find anything more reliable than ping ing or arping ing addresses on the same subset. I implemented this for a certain..

C# to PHP base64 encode/decode

http://stackoverflow.com/questions/257462/c-sharp-to-php-base64-encode-decode

encode decode So I have this c# application that needs to ping my web server thats running linux php stack. I am having problems..

Can I check if an email address exists using .net?

http://stackoverflow.com/questions/3883518/can-i-check-if-an-email-address-exists-using-net

using .net Ive seen some php examples of how you can ping an inbox without sending any mail to it to check whether it..

How to get IP all hosts in LAN

http://stackoverflow.com/questions/4042789/how-to-get-ip-all-hosts-in-lan

share improve this question You'll have to do a ping sweep. There's a Ping class in the System.Net namespace. Example.. to help. You'll have to loop through each address and ping the address using the Ping class and check the PingReply. If.. 100 milliseconds to reply. You can also use SendAsync to ping them all in parallel. The following program will ping 254 address..

How to parse command line output from c#?

http://stackoverflow.com/questions/5367557/how-to-parse-command-line-output-from-c

cmdProcess.StandardInput.WriteLine ping www.bing.com Execute ping bing.com cmdProcess.StandardInput.WriteLine.. ping www.bing.com Execute ping bing.com cmdProcess.StandardInput.WriteLine exit Execute exit...

How to check internet connection with .NET, C#, WPF

http://stackoverflow.com/questions/5405895/how-to-check-internet-connection-with-net-c-wpf

if i shut down my local apache server. I also tried ing ping new Ping PingReply reply try reply ping.Send localhost myfolder.. I also tried ing ping new Ping PingReply reply try reply ping.Send localhost myfolder if reply.Status IPStatus.Success MessageBox.Show.. Error ex.Message But this always gives an exception ping seems to work only pinging the server so localhost works but..

Check if a server is available

http://stackoverflow.com/questions/614336/check-if-a-server-is-available

class. If you server does not respond to ping for some reason you decided to block ICMP Echo request you'll.. ICMP Echo requests and I think this is the way to go. The ping command has been used for ages to check reachability of hosts... of hosts. using System.Net.NetworkInformation var ping new Ping var reply ping.Send google.com 60 1000 1 minute time..

How the right associative of null coalescing operator behaves?

http://stackoverflow.com/questions/6238074/how-the-right-associative-of-null-coalescing-operator-behaves

user.ContactAddress if contact null contact order.ShippingAddress if contact null contact user.BillingAddress To Address.. To Address contact user.ContactAddress order.ShippingAddress user.BillingAddress Instead I think the following is.. I am wrong Address contact user.ContactAddress order.ShippingAddress user.BillingAddress c# share improve this question..

A field initializer cannot reference the non-static field, method, or property?

http://stackoverflow.com/questions/7400677/a-field-initializer-cannot-reference-the-non-static-field-method-or-property

a member via a simple name because it references this I'll ping Mads about it but that's basically the relevant section. share..

How do I access ARP-protocol information through .NET?

http://stackoverflow.com/questions/1148778/how-do-i-access-arp-protocol-information-through-net

If you know which devices are out there you can use the Ping Class . This will allow you to at least fill up the ARP table... to call GetIpNetTable . I have included examples below of Ping Class and how to access the ARP table using the GetIpNetTable... table using the GetIpNetTable. This is an example for the Ping Class using System using System.Net using System.Net.NetworkInformation..

TraceRoute and Ping in C#

http://stackoverflow.com/questions/142614/traceroute-and-ping-in-c-sharp

and Ping in C# Does anyone have C# code handy for doing a ping and traceroute.. this question Although the Base Class Library includes Ping the BCL does not include any tracert functionality. However..

How to detect working internet connection in C#?

http://stackoverflow.com/questions/2521569/how-to-detect-working-internet-connection-in-c

Tutorial: Simple WCF XML-RPC client

http://stackoverflow.com/questions/2878447/tutorial-simple-wcf-xml-rpc-client

public interface IContract OperationContract Action Ping string Ping server returns back string Pong OperationContract.. interface IContract OperationContract Action Ping string Ping server returns back string Pong OperationContract Action Echo..

Get derived class type from a base's class static method

http://stackoverflow.com/questions/3064227/get-derived-class-type-from-a-bases-class-static-method

this be accomplished Thanks class BaseClass static void Ping Type t this.GetType should be DerivedClass but it is not possible.. DerivedClass BaseClass somewhere in the code DerivedClass.Ping c# generics reflection inheritance share improve this question.. If I'm not mistaken the code emitted for BaseClass.Ping and DerivedClass.Ping is the same so making the method static..

hosting .net 4.0 REST WCF service in IIS 6

http://stackoverflow.com/questions/3367457/hosting-net-4-0-rest-wcf-service-in-iis-6

on IIS at http localhost SOMENAME WebGet UriTemplate Ping public string CheckAuthenticatedStatus string userName if AuthenticateUser.. return Authenticaltion Failed return Ping Back userName WebGet UriTemplate AnonymousPing public string.. return Ping Back userName WebGet UriTemplate AnonymousPing public string CheckStatus return AnonymousPing Back But when..

How send raw ethernet packet with C#?

http://stackoverflow.com/questions/3964013/how-send-raw-ethernet-packet-with-c

key parts C# Raw UDP Socket Program Example C# Raw Socket Ping Program Example part A part B All examples Not sending packets..

How to get IP all hosts in LAN

http://stackoverflow.com/questions/4042789/how-to-get-ip-all-hosts-in-lan

this question You'll have to do a ping sweep. There's a Ping class in the System.Net namespace. Example follows. Also this.. queries on your switches. System.Net.NetworkInformation.Ping p new System.Net.NetworkInformation.Ping System.Net.NetworkInformation.PingReply.. p new System.Net.NetworkInformation.Ping System.Net.NetworkInformation.PingReply rep p.Send 192.168.1.1..

How to check internet connection with .NET, C#, WPF

http://stackoverflow.com/questions/5405895/how-to-check-internet-connection-with-net-c-wpf

down my local apache server. I also tried ing ping new Ping PingReply reply try reply ping.Send localhost myfolder if.. my local apache server. I also tried ing ping new Ping PingReply reply try reply ping.Send localhost myfolder if reply.Status..

Check if a server is available

http://stackoverflow.com/questions/614336/check-if-a-server-is-available

this question Just use the System.Net.NetworkInformation.Ping class. If you server does not respond to ping for some reason.. of hosts. using System.Net.NetworkInformation var ping new Ping var reply ping.Send google.com 60 1000 1 minute time out in..