Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6760789
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:06:23+00:00 2026-05-26T14:06:23+00:00

I know that you can easily send a ping request and receive a boolean

  • 0

I know that you can easily send a ping request and receive a boolean return type in .NET, using something like:

If My.Computer.Network.Ping(addressToPing_str, pingTimeOutMS_int) Then
    MessageBox.Show("Ping successful")
End If

But this appears to use the proxy that it set globally for windows (Looks like it uses the same setting that internet explorer uses.)

What i want to do is specify my own IP and port to use as a proxy, instead of using the windows global value or whatever it is…

There will be multiple applications running at once, and indeed multiple pings at once, as my application checks multiple servers in parallell. Therefore, changing the global value, sending a ping, then setting it back is not an option.

So my question is – Is there any alternate method of sending a ping request that will also allow me to specify what proxy server I want to use?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T14:06:24+00:00Added an answer on May 26, 2026 at 2:06 pm

    Setup a Web Service in a location visible to all of the nodes you want to ping. Make a method on the webservice called Public Function Ping(Byval ipAddress As String) As Int32

    Then in your application consume the Web Service and invoke the Async methods that the code generates when you first consume the Web Service. The Async methods allow for some degree of this ‘parallellization’ that you speak of.

    Invoke the PingAsync with a callback.

    The Web Service acts as your ‘Proxy’ and will be accessible via HTTP. You can then invoke a Ping even on a client with ICMP traffic blocked.

    Edit:

    If you just want to test a HTTP proxy for a valid connection you can use the WebRequest/WebClient classes and download a small file on a remote computer.

    Information is available here: http://msdn.microsoft.com/en-us/library/2s8th0s1.aspx and a console example is available here: http://msdn.microsoft.com/en-us/library/system.net.webrequest.proxy.aspx

    WebRequest.Proxy will allow you to specify the HTTP proxy and the credentials passed. You could then load say http://www.whatismyip.org/ and check to see if you get a response. If you get a response then your HTTP proxy is working.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know that this can be easily done by using if(i%5 == 0 OR
I know that I can do something like $int = (int)99; //(int) has a
I know that we can easily base a RewriteCond on any http request header.
I know that I can share files using Shared Folders in Virtual PC, but
I know that I can insert multiple rows using a single statement, if I
How can I easily separate JSON values that are sent in the same request?
As you people know that you can easily identify systems in your network that
I know that can co-exists with web form no problem as Hanselman mention here
I know that it's a subject that can raise a lot of debate, but
I know that you can insert multiple rows at once, is there a way

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.