I Know computer IP Address,I want my Android Device using wifi communication this computer .i learn some C#. i know this communication is using TCP/IP Socket
I try get ip.
WifiManager wifiManager = (WifiManager)Android.App.Application.Context.GetSystemService(Service.WifiService);
int ipaddress = wifiManager.ConnectionInfo.IpAddress;
IPAddress ipAddr = new IPAddress(ipaddress);
result = ipAddr.ToString();
displayTest.Text = result;
Herry Z is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.