Microsoft shares part of Windows Phone WiFi logging source code

More and more people are getting concerned that their private info is being detected via WiFi networks by hackers. Now, Microsoft has announced that it has revealed some of the source code that it uses to collect certain information for its Windows Phone 7 software. In a post on Microsoft's Technet web site, Reid Kuhn, the Program Manager for Microsoft's Windows Phone Engineering Team, stated that the company is "sharing relevant portions of the source code for our managed driving data collection software to provide those interested an opportunity to review the code we use for collection of such information." You can download the source code now on Microsoft's MSDN web site.

The blog states that while developing Windows Phone 7's software, "... we use vehicles to gather available data (what is commonly referred to as 'managed driving') by equipping the vehicle with mobile phones that survey Wi-Fi access points and cell tower locations." Microsoft says that those phones only collect info from the WiFi routers that every other WiFi enabled device can see. It adds that with that info "we can provide the location capabilities and services for Windows Phone and Bing that consumers demand, including search results, weather, movie times, maps and directions based on a device’s current location."

The code which Microsoft has now released the source code for "uses publicly documented interfaces for accessing cell tower, Wi-Fi data access point and GPS data." Microsoft adds that the info collected "does not intercept wireless data transmissions from consumers’ computers" nor does it access and record "any information that may contain user content transmitted over a network."

Report a problem with article
Previous Story

Microsoft: Not currently accepting outside ideas for Windows 8?

Next Story

Anonymous claims it has breached Apple's web server

22 Comments

Commenting is disabled on this article.

So erm does this mean that people can now analyse this for any evidence of the recent MS vs Android to check if any code similarities exist? Or maybe with the old MS vs Linux saying they stole the code, I'd laugh if someone found some of the code in this that was originally in linux first!

The same info (IP, platform, browser, installed plug-ins/apps, names and mac-addresses of nearby wifi access points) ,and more, is collected whenever you share your location on most location aware sites like twitter.

private const int DefaultTimeDifferenceDetectedByTheOSInMillisecondsWhenOSDoesNotGiveMillisecond

Now this, guys, is coding practice of a guy with a PhD in English literature. Is this what coding has become today?

I'll get my coat. Mine's the one with lpszCaption written all over it.

cralias said,
private const int DefaultTimeDifferenceDetectedByTheOSInMillisecondsWhenOSDoesNotGiveMillisecond

Now this, guys, is coding practice of a guy with a PhD in English literature. Is this what coding has become today?

I'll get my coat. Mine's the one with lpszSimpleText written all over it.


LOL

cralias said,
private const int DefaultTimeDifferenceDetectedByTheOSInMillisecondsWhenOSDoesNotGiveMillisecond

Now this, guys, is coding practice of a guy with a PhD in English literature. Is this what coding has become today?

I'll get my coat. Mine's the one with lpszCaption written all over it.

Now THAT is a self documenting variable name (well, constant, but W/E) if I've ever seen one
/s

cralias said,
private const int DefaultTimeDifferenceDetectedByTheOSInMillisecondsWhenOSDoesNotGiveMillisecond

Now this, guys, is coding practice of a guy with a PhD in English literature. Is this what coding has become today?

I'll get my coat. Mine's the one with lpszCaption written all over it.

lol I downloaded the source just to find this. Hilarious. I also saw the other constant:

private const int DefaultTimeDifferenceDetectedByTheOSInMillisecondsWhenOSDoesGiveMillisecond = 100;

PlogCF said,
And people say that Microsoft isn't open-sourced. The poster above is right. Let's see Google do this...

And people have this twisted notition that Google is an Open Source company... They aren't and never have been. The only stuff that they keep 'open' is what they have to release because of the attached license when they bought the original technology. Google isn't posing the source code to any in house ground up development projects.

Google already admits to collecting the WiFi traffic of people's computers, so I don't see them giving away more secrets of the crap they were data mining when doing Map image collection or phone data collection.

Microsoft is doing a good thing by making it very clear what they are doing and how it is not used in hidden ways.

thenetavenger said,

And people have this twisted notition that Google is an Open Source company... They aren't and never have been. The only stuff that they keep 'open' is what they have to release because of the attached license when they bought the original technology. Google isn't posing the source code to any in house ground up development projects.

Google already admits to collecting the WiFi traffic of people's computers, so I don't see them giving away more secrets of the crap they were data mining when doing Map image collection or phone data collection.

Microsoft is doing a good thing by making it very clear what they are doing and how it is not used in hidden ways.

then what is Chromium , ChromiumOS , Chrome V8 engine , Google Gears , NaCL , SPDY , Google App Engine , Android and all the protocol they push to W3C with free license like WebM WebRTC.

just read you'll find a lots more http://blog.0x1fff.com/2009/12...urce-projects-that-you.html

NesTle said,

then what is Chromium , ChromiumOS , Chrome V8 engine , Google Gears , NaCL , SPDY , Google App Engine , Android and all the protocol they push to W3C with free license like WebM WebRTC.

just read you'll find a lots more http://blog.0x1fff.com/2009/12...urce-projects-that-you.html

Android is not an in-house ground-up project. It was a company acquired by Google and the licenses attached to Linux oblige them to be open source.

fsX said,

Android is not an in-house ground-up project. It was a company acquired by Google and the licenses attached to Linux oblige them to be open source.

Don't forget Chromium (Webkit is OS) and ChromiumOS (Linux and Webkit), and that ANY spec pushed to the W3C must be open (with the notable exception of mp4 video, which is part of the debate as to it's use. Though it could be argued that the codec is not core to the video spec and therefor can be ignored as being required to be open)

MS's IndexedDB is open too, and what the W3C will be recognizing as a browser based database model

PlogCF said,
And people say that Microsoft isn't open-sourced. The poster above is right. Let's see Google do this...

The first comment's reply also links to the Android Kernel, and if you go to http://source.android.com/ you will be able to find the wifi logging code too. Contrary to fanboy belief, a full Android OS can be built from scratch without relying on Google or anyone else, provided you have all the dependencies (which are also freely available). Google only hold back their proprietary code, not the operating system itself, which is perfectly acceptable (although not ideal).

And people are right, Microsoft isn't open source. They are a proprietary software company, same as Google, and most other companies. Just because they release one piece of code doesn't qualify them as open source.

PlogCF said,
And people say that Microsoft isn't open-sourced. The poster above is right. Let's see Google do this...
Wow! Almost missed that there.

DonC said,
Is the code that Google used to capture the traffic in Germany included in that source code?

don't be silly. that's incriminating code. obviously it's not going to be there.

norseman said,
Let's see Google do this. Good on you Microsoft, another great job!

Surely you can't be serious?

*Insert Fry "Can't tell if trolling or just stupid" picture here*

norseman said,
Let's see Google do this. Good on you Microsoft, another great job!
I take it you were being sarcastic, being that Android is open source.