NativeWifi and Windows XP SP2/SP3 - .net-2.0

I'm using the Native Wifi API and specifically the function WlanGetNetworkBssList.
I am aware that that function is not available in Windows XP SP2 and SP3. I tried installing the hotfix that was supposedly to allow access to that function but it did not work.
So are there any Wireless Zero Configuration .NET wrappers out there?
Or more basically, how do I get a list of the basic service set (BSS) entries of the wireless network or networks on a given wireless LAN interface without the use of that function?

Did you have a look at how MetaGeek's InSSIDer does it. It's C#, and open source (Apache License and available on github).
This app is gorgeous and very useful. There are at least 3 versions.
InSSIDer
InSSIDer 2
InSSIDer forLinux
I've got a vintage XP SP3 here and it works pretty well. However, I do not think it relies on the WlanGetNetworkBssList API (it's close to the physical interface and besides, I'm using the Intel Wifi management stack (so my ZeroConf service is stopped) and InSSIDer still works).

There is open source WLAN API library which allows to obtain wireless BSSIDs on Windows XP SP1 and higher by using NDISUIO 5.1 or Wireless Zero Configuration service.
Original code is written in C++ but can be converted into C# for your needs.

Related

How to Connect Windows CE Device through network using active sync

I am trying to connect an Windows CE 5.0 device through a cradle that only has an ethernet output to an XP machine. I am currently using a network crossover cable but I cannot seem to find out how to do this.
Which version of active sync should I be using? and how do I do this?
Any advice would be great!
Nathan
IIRC ActiveSync non longer supports network connectivity

Windows Phone 7 FTP using Sockets

I have some Windows Mobile Smart Device applications coded in Visual Studio C# that use FTP for the send/receive mechanism. It's not ideal, but it works.
I've been investigating whether these can be ported over to Windows Phone 7 and the major problem is the lack of FTP in Windows Phone. With 7.5/7.1/Mango I'm interested whether Sockets can be used but I can't find a decent wrapper out there. I've started work on my own but I was wondering if I'm just replicating work already available.
Our SecureBlackbox component suite includes FTP/FTPS and SFTP client components for Mango.

Run Internet Explorer 9 on Windows Xp Professional for testing purposes?

I want to test my web application on Internet Explorer 9 but I don't want to buy a copy of Vista/Win 7 on my developer machine with Windows XP.
Anyone knows a workaround, free and easy?
Use another machine.
Or better, get a set of Virtual Machines established which have an array of operating systems and browsers installed. Build enough VMs, and you are covered for all eventualities, regardless of whether you would personally use them or not.
Link to Internet Explorer Application Compatibility VirtualPC Images
You can't. The closest you'll get is IE9Preview.
I've found that IETester is not a bad way to quickly switch between browser versions for testing.
http://wiki.winehq.org/WineOnWindows
You can try running Wine on windows.
This will let you emulate a newer version of Windows
However, it will be really buggy (not mentioning how Wine is already buggy)
Its a unix/linux application ported for Windows
:)
IE 7,8,9
https://browserlab.adobe.com
Use
https://browserling.com
In unpaid version you have 3 minutes to test any site accessed from Internet on any browser.
In paid version you have unlimited sessions and ssh tunneling.

IIS 6.0 Testing Environment in Windows 7

Trying to develop and test an ASP.NET MVC 2 as well as a hosted WCF app where the client is limited to IIS 6.0 (OS Windows 2003). I am developing and testing in Windows 7 which has IIS 7. I do not have access to a Windows 2003 disk, so creating a VM doesn't appear to be a viable option for me...
Any suggestions or tips would be greatly appreciated
Update:
Lucas' response led me to consider a virtual dedicated server... Going to try that for a testing environment.
You don't have many options
You bend (get a MSDN subscription or Win 2k3)
Your client bends (upgrades to Win7/2k8)
Find someone you know who can let you use an IIS 6 machine.
Get your client to let you use one of their machines during development
You can virtual PC it. If you can use Windows XP, M$ provides a virtual machine + WinXP trial. It's more for using IE6 I think, but I don't think it limits application installation like IIS.
I don't have the link anymore, but it's provided by M$ from their download area

Windows Phone 7 emulator on a VM?

It seems that the Windows Phone 7 SDK doesn't support running inside a VM. On Parallels, the entire VM simply crashes when the emulator is starting up.
Around the web, though, a few people have reported that they were able to use it by changing a lot of the VM settings.
What do I have to change to be able to run it? I'm specially interested in Parallels, but VMWare or any other simulator that run on OSX if fine for me!
The WinPhone7 (and WinPhone8) emulator is itself a VM and few (if any) general-purpose VM's will host another VM infrastructure, which is why it crashes Parallels etc.
If you want to have the emulator run from within a different VM to the one MS provides, then you're into the realm of extracting images, toggling bits and trying to tack it into your VM of choice. Of course, the chances of the emulator then working as expected with no residual issues is as close to nil as makes no difference ;)
[Update 2013-01-30] VMWare5 & Parallels Desktop 8 now support running Hyper-V guest VM's. This is particularly useful for those wanting to develop against the Windows Phone 8 SDK which runs Windows Phone 8 guest VM's on Hyper-V.
Here's a guide to how to run Visual Studio 2012 & Windows 8 SDK (inc. the Windows Phone 8 Hyper-V-based emulator) in VMWare5 or Parallels desktop 5: Link
Note: Running Windows & Hyper-V inside a VM will be slower than running natively. Dual-booting into Windows (using Boot Camp on OSX) is stil the recommended method of developing for the Windows platform, especially if you want to use Hyper-V guest VM's.
I'm working in VMware Fusion with Expression Blend 4 RC AND the emulator.
works like a charm!
As others have said, WP7 is itself a virtual machine. Even if you can get it to run inside a virtual machine like Parallels, the performance will be abysmal. If your computer supports hardware virtualization, the emulator runs really smooth, without it it's very very sluggish. Running it inside another VM will make it even more sluggish - I am guessing to the point that it's unusable.
I know this is not the answer you want to hear, but I would recommend running Windows in Bootcamp, you will have much better experience developing and emulating.
I'm not so sure about compatibility for long term development, but in last september, I remembering trying the Windows Phone 7.1beta SDK on VirtualBox (I'm using mac SL), a free virtual machine from oracle (previously by Sun) and it works well there.
I just do a regular install of Windows 7 Home Basic (any Win7 except Starter will do, CMIIW) in the VBox with no tweaking at all, install the GuestAddition inside win7 (provided by VBox), then install the SDK. I create new WP project, arrange UI, make some codes as usual, then run it in emulator. Surprisingly, the emulator works fairly well and showing the app I've developed.
I'm not even experience any lag (my macbook is i5, 4GB ram, the VBox setting is dual core, 2GB ram, note that no other heavy mac process is on the run, so I solely run the VBox ... and iTunes for listening musics).
So if you still want to try WP SDK 7.1 on VM, why don't you try VirtualBox? My current VBox is installed with Windows 8 and have no extra space to reinstall the win7+WPSDK. If you do give a try on VBox, please report the result here to inform everyone.
I've run the Android emulator inside a VM before. It was slower, but still usable to test basic apps. Also, the Android emulator was then slow to where you couldn't tell a difference from between native or from within running Eclipse from within a virtual machine running Linux
x86-to-x86 emulation tends to be pretty fast nowadays due to both Intel and AMD CPUs having hardware to help it along. A lot of x86-to-x86 emulation also doesn't do a full emulation (see Android's emulator to see how a full emulator runs in comparison). In the x86-to-x86 case, the faster ones will try to pass as many instructions to the host OS so that a chunk of the code runs natively
People have made claims like 80-95% performance, which is pretty good. If you have a 3.2 GHz CPU, you get knocked down to around a 2.4 GHz equivalent of your CPU. That's not bad at all, and I honestly don't notice that much overhead running in a good x86-to-x86 VM
The biggest reason why the WP emulator has problems with VMs doesn't have to deal with it being a VM-in-a-VM, but it's most likely that it requires DirectX 10. This might have to do with XNA, which is Microsoft's really nifty gaming API that lets you easily port between Windows, WP, and the Xbox 360. A lot of VM programs don't support hardware 3d acceleration
On another note: if you want to use a low-end system, AMD CPUs may fare better since AMD doesn't tend to disable hardware virtualization features in their lower-end CPUs
If you're deploying to a device, you should be able to use a VM, since it's the emulator that has issues being a VM itself.
We have successfully deployed, and performance is acceptable in our environment, virtual Windows 8.1 Pro Desktop under VMware vSphere 5.5 (ESXi 5.5), and have the Windows 8 SDK and Emulator working correctly with no performance issues. (In Education - to University Labs for Windows Phone development).
The issue experienced by most, is you most have the Hypervisor pass through the Intel-VT into the VM, to effecticely create Nested Hypervisors. This is possible using VMware vSphere 5.5.
This option is available in virtual machine version 10, enabled in the vSphere Web Client - Enable Hardware Virtualisation.