Server Alive

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have written an application that runs stand alone on a users machine without being on the company's network. However, there are certain pieces that requires the user to be on the network. I would like to disable these if the user is not on the network. Currently I have a method that checks if a directory path exists (a network directory) to determine if the user is on the network. This has proved inefficient as it sometimes takes a few seconds for the method to work. I need something more efficient to let me know if the user is on the company's network

SystemInformation.Network just tells me if a network is present regardless if it is the company's network or some other the user has connected themselves to. Thus this property would not help me

Any insights would be great!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top