473,626 Members | 3,304 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Get the SSID of the current connected AccessPoint

Hello,

I'm want to get the SSID of the current wireless network.
After some searching on the web, I've found a solution by querying the
WMI, but it seems that its not working on Vista anymore.

If I query "Select * From MSNdis_80211_Se rviceSetIdentif ier" on XP it
returns the SSID of the connected network(s).
If I use the same query on Vista, it returns an error "Not supported"
with the return code 4200.

Are there any other ways to get the SSID with C# under Vista or a fix
for that broken WMI stuff?

Thank you

Greets,
Nils

Jun 23 '07 #1
0 1934

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

Similar topics

8
4007
by: Mylinux | last post by:
program was taken from http://www.beyondlogic.org/parlcd/parlcd.htm when compile under rh 9.0 I do not know how to correct this error. can u help? there is dos.h in my linux box.
0
1135
by: Kevin | last post by:
Hi All Experts, Can any one tell me how to fetch the SSID value of AP in VC# programming language??? thanks & regards, Kevin
0
1396
by: cfyam | last post by:
How can I get the SSID value of the wireless Lan card?
3
5336
by: Bruno Renato | last post by:
Hi people, I have a question about this.... How I modify the SSID of the Wireless connection?? I was developing a software in C# .NET 2003 and I need this feature. TKS... Bruno Renato C# .NET Developer
9
12668
by: shorti | last post by:
I reviewed a similar post on an older version of DB2. I was wondering if there was anything available now that is more precise in gathering the db2 version for the new v8 calls. I am running DB2 v8 FP9 and was wondering if anyone knows if there is an existing API (or perhaps an easy way) to obtain the current DB2 version on the machine? I have only found one way so far where you can use the statement as follows:
0
3489
by: dogalmity | last post by:
None of the code segments I've seen on this will execute, they all give me an "invalid class" runtime error, either at the MoveNext() or the foreach. Do I need to somehow tell WMI which adapter to try to get the SSID list from? I've only got one wireless adapter. This way gives me an unhandled exception when it tries to do the GetInstance()
5
6980
by: christianlott1 | last post by:
I admit my form is pretty complex and may need a total overhaul - I have two subforms synchronized on a form through an unbound text box. When I enter a new record in the second subform it used to complain about nulls and then about 'can't repeat an index'. To solve this I wrote code on the main form's subform enter event (I'm surprised I found it. I must have spent an hour trying to program the enter and exit events from the subform...
3
13156
by: Toby Webb | last post by:
Hi, can anyone help please? I am trying to get infromation from my wireless card, such as signal strength and a list of SSIDs that it can see. I have been able to get the signal strength (see code below), but I cannot get the list of SSIDs. I have installed WMITools (from Microsoft) to delve in further and it tells me that there is no instance for MSNdis_80211_WLanBssId or MSNdis_80211_BSSIList. The code I used to get the signal...
8
2530
by: SpaceMarine | last post by:
hello, my web app form has many DropDownLists that pull their content from a database. these calls are in a Business Access Layer, when first checks the context's Cache object for existing copies. to do that, the BAL needs to be aware of the user's HttpContext. question: how expensive is it for each BAL method to instantiate the current context, like so:
0
8269
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...
1
8368
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8512
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...
0
7203
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6125
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
4094
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...
0
4206
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1815
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1515
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.