473,890 Members | 1,357 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How-to determine if network is "Local Only" or "Local and Internet"

I'd like to programmaticall y be able to determine if a network
interface is currently in "Local Only" or "Local and Internet" access
mode. Also I wasn't sure if this is only applicable to Windows
Vista? If not possible in C#, maybe netsh can do it?
Jan 19 '08 #1
2 1799
I'd like to programmaticall y be able to determine if a network
interface is currently in "Local Only" or "Local and Internet" access
mode. *
If u can see it in ipconfig/all (in Vista? , I dont see anything in
XP) then thats new... dont get that Access mode...
brute: ping www.google.com and if it answers - yes ;) unless you work
at...
//CY
Jan 22 '08 #2


I unfortunately T/S with an hp rep and she walked me through some changes. I
know this isn't the correct subject but I need help. I need to get my
network access back to local only. It is set to local and internet, does
anyone know how I can change this?
Jan 23 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
2403
by: John Walton | last post by:
Hello, everyone. I just began school, and they already assigned us science fair. Since I'm in 8th grade, I get to do demonstrations for our projects. I'm probably going to demonstrate Python's networking capabilities by writing a simple instant messenger program. I only have a few problems: 1. I know squat about Python network Programming 2. I know nothing about networks
1
2187
by: Malcolm Cook | last post by:
Hi, It is possible to determine which controls belong with the current selected columns when a form is in datasheet view? I already know how to get the .selleft and .selwidth, but, since columns can be hidden and rearranged, I don't think I can use these to figure this out. Any help would be greatly appreciated.
8
2238
by: Steven Van Dyke | last post by:
Hi I need a code snippet to determine if my computer is connected to a network or not. There's probably a System.Net function for it, but I cannot find it. Thanks, Steve
12
5537
by: Laszlo Zsolt Nagy | last post by:
Hello, I would like to develop a new network protocol, where the server and the clients are Python programs. I think to be effective, I need to use TCP_NODELAY, and manually buffered transfers. I would like to create a general messaging object that has methods like sendinteger recvinteger
3
9124
by: Phoe6 | last post by:
Hi all, I had a filesystem crash and when I retrieved the data back the files had random names without extension. I decided to write a script to determine the file extension and create a newfile with extension. --- method 1: # File extension utility. import os
1
2957
by: Marcel Brekelmans | last post by:
Hello, I know about the FileInfo.LastWriteTime() function. However, this is not always returning the modified date of the executable that I want: when you copy the executable to another directory the FileInfo.LastWriteTime() function returns the copy-time. I can see in my explorer that there is another modified time, the time when I compiled the executable. My explorer (explorer2, that is, Zabkat's dual-pane explorer) shows this...
2
10616
by: Dominik Gorsler | last post by:
Hi, how can I enable my standard windows form application to react to a "trigger" from another application (not necessarily managed code)? The application has conventional windows form features and is usually used stand alone. Additionally it should "listen" to requests from another aplication and process them.
1
1676
by: The ants are driving me crazy | last post by:
Can anyone point me to code samples that can get the permission set for a network drive? I tried the FileInfo and DirectoryInfo classes but they do not seem to list what I need.
0
1535
by: =?Utf-8?B?YmVycnkubW9yZ2Fu?= | last post by:
I want to bypass my content page's page_load event when the postback is caused by a control from my masterpage, doing something like this from my content page's page_load handler: Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles page.Load If NOT sender.ThisEventWasFiredFromTheMasterPage then 'process normally end if
2
1536
by: mark | last post by:
Hi, I am in the process of developing a small application that sits in the task bar and at a set interval polls an IIS web server for information. The process involves the client sending anything between 3 and 30 characters of data and the server returning anything up to 50 characters of data. I need to identify the overhead on the network so I can determine the network utilisation of the application. The sort of questions I need to be...
0
9979
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9825
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10828
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10467
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
8018
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7171
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5854
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
4276
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3282
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.