Search results for query: *

  • Users: DominusDRR
  • Content: Threads
  • Order by date
  1. 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 =...
  2. 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...
  3. 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