Reputation: 2792
I always struggle with finding references for documented classes. Take the HardwareIdentification class for example. Ik can find the documentation just fine here. In the documentation it says the class is in the System.Windows.Profile library. When however I open the 'Add reference' box this library is not found in either 'Assemblies.Framwork' or 'Assemblies.Extensions'. My search on Google results in find nothing. The NuGet package manager doesn't find this assembly either. So where is it? It's not in the GAC too.
Upvotes: 0
Views: 72
Reputation: 115037
The docs page mentions the Device Families and luckily provides the Windows SDK version that goes with that:
It also mentions that these Assemblies are for the WindowsRT / UWP development, it's likely these won't work elsewhere.
You can download the latest Windows SDK here:
The default installation location is:
If you're using Visual Studio 2017, you may need to enable the correct workloads for the SDK elements to be installed, my workload, for example, doesn't contain UWP.
Upvotes: 1