1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cannot add ref to Windows.Networking.DL

Discussion in 'C, C++, C#' started by sandrine10, Jul 16, 2015.

  1. sandrine10

    sandrine10 Power Member

    Joined:
    Apr 14, 2010
    Messages:
    638
    Likes Received:
    65
    Gender:
    Female
    Location:
    FreeLand
    Hi Guys,

    I'm trying to create a .Net 4.5 class library in C# with VS 2013.
    I want to use the class WMI Win32_NetworkAdapter which is in the namespace Windows.Networking.Connectivity.

    But when I try to add a reference to the required assembly - Windows.Networking.DLL - I cannot do so.
    It does not appear in the list of available assemblies.

    I use Windows 7

    Please let me know how can do that?