#include<iostream>
#include<string.h>
#include<Windows.h>
.
.
.
using namespace Windows::Networking::Connectivity;
.
.
.
ConnectionProfile^ internetConnectionProfile = NetworkInformation::GetInternetConnectionProfile();
.
.
.
The above is the code but it is showing
error C2653: 'Windows' : is not a class or namespace name
What do I do? Common Language Runtime Support(/clr) is set