Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2012/5.0 > C# 2012/5.0 General Discussion
C# 2012/5.0 General Discussion Discussions about the C# 2012 language and tool not related to any specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2012/5.0 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old June 17th, 2013, 09:27 AM
Registered User
Join Date: Jun 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Check whether the windows system is connected to the network through vpn or not?


I need to check whether my system is connected to the network through VPN or not using C#.Net.

Please help me on this.
Old June 26th, 2013, 08:07 AM
jminatel's Avatar
Wrox Staff
Points: 18,059, Level: 58
Points: 18,059, Level: 58 Points: 18,059, Level: 58 Points: 18,059, Level: 58
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: May 2003
Posts: 1,906
Thanks: 62
Thanked 139 Times in 101 Posts

In .NET 2.0-4.5, start with the GetIsNetworkAvailable method.

There is an example of this in our Professional Visual Studio 2012 chapter 34 "Client Application Services" section "Offline Support."
Jim Minatel
Associate Publisher, WROX - A Wiley Brand
Did someone here help you? Click on their post!

Similar Threads
Thread Thread Starter Forum Replies Last Post
Check if a file exists on network darrenb Access VBA 2 March 27th, 2007 07:15 PM
Weired Behavior ASP Files in VPN Network tarzannn Classic ASP Professional 0 January 4th, 2006 02:35 AM
Get the username connected to the network from asp Timbo Classic ASP Basics 2 October 31st, 2005 09:28 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.