Search results for query: *

  1. DominusDRR

    Is there a way to get the MAC address of a device on a network based on its IP address? (C# & Android)

    After searching and searching, I have tried many examples, I came to this thread: Permission Denied for access /proc/net/arp ARP table in Android 10 And write the following code: public static PhysicalAddress Lookup(IPAddress ip) { var runtime = Java.Lang.Runtime.GetRuntime()...
  2. DominusDRR

    Is there a way to get the MAC address of a device on a network based on its IP address? (C# & Android)

    And is there a way to get the MAC address of all the devices connected in the local network?
  3. DominusDRR

    Is there a way to get the MAC address of a device on a network based on its IP address? (C# & Android)

    Hi. I have an application made for Android in C #. I'm trying to get the MAC address of a remote device using its IP address as follows: public string GetMacByIP(string ipAddress) { try { // grab all online interfaces var query =...
  4. DominusDRR

    Why can't I get the hostname of an ip on an LAN network?

    I will try using the MAC address and the HostName to put it aside.
  5. DominusDRR

    Why can't I get the hostname of an ip on an LAN network?

    Hi Thanks for write. DHCP is working, since it (router) assigns an IP to the connected devices. The problem is that the internet service provider owns the router and we cannot access the router to check those settings.
  6. DominusDRR

    Why can't I get the hostname of an ip on an LAN network?

    Hi. I have an application made in C# and Android. The application tries to get the hostname of an IP as follows: private string GetHostName(string ipAddress) { try { IPHostEntry entry = Dns.GetHostEntry(ipAddress); if (entry != null) { return entry.HostName...
  7. DominusDRR

    Sending mail with Android and C#, it never returns from SmtpServer.Send

    Someone else helped me test my code on another PC with VS and it works fine, it's something else on my computer. I think it may be the antivirus, but the problem happens both in a virtual mobile phone and in a real one. The only difference is that I have version 16.11.3 of VS 2019 and who...
  8. DominusDRR

    Sending mail with Android and C#, it never returns from SmtpServer.Send

    Hi. Thanks for writting. I've tried, but it doesn't work either. I feel like it's something else that I need to activate, something regarding the internet. I have activated the permissions on the manifest file, but something else is missing.
  9. DominusDRR

    Sending mail with Android and C#, it never returns from SmtpServer.Send

    Hi. I have the following code that works perfectly with C# and WPF: String emaailO = "xxxxxxx@outlook.com"; String passwordO = "123456789"; SmtpClient SmtpServer = new SmtpClient("smtp.live.com"); var mail = new MailMessage(); mail.From = new MailAddress(emaailO)...
Back
Top Bottom