Welcome to the community
Please try this
ip = System.Net.Dns.GetHostByName(System.Net.Dns.GetHostName()).AddressList(0).ToString()
Got the same error.
A month ago I did it the way it is in the photo and now it gives me an error
I just tried the same and i can see the ip… can you try creating a new process and check…
I deleted the Dns variable and it worked, thanks for your attention
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.