The type or namespace name NetworkInformation does not exist in the namespace System.Net

I have a project in unity 5.3 where since I upgraded to windows 10 I got an error.

The type or namespace name NetworkInformation does not exist in the namespace System.Net. Are you missing an assembly reference?

This is while the project is in the standalone player…

I just had a similar issue - turns out in my build settings it had defaulted to “Web Player” instead of “PC/Mac/…”. Try selecting the latter then click “Switch Platforms”. That should sort you out!