Getting IPGlobalProperties with VB.net on a UWP application
I am writing a very simple Universal Windows application with VB in Visual Studio 2017. The application should gave basic network information to the user, so I wanted to collect the data using IPGlobalProperties and print – as a first example – the DomainName in a TextBlock called textDomain Dim NetworkProperties As NetworkInformation.IPGlobalProperties NetworkProperties = NetworkInformation.IPGlobalProperties.GetIPGlobalProperties textDomain.Text = NetworkProperties.DomainName While the properties are correctly assigned int the first two lines of code, the third line result in the error