Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Get the MAC address of the WiFi router
QtWS25 Last Chance

Get the MAC address of the WiFi router

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 3.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    metRo_
    wrote on last edited by
    #1

    Hi, it's possible to get the MAC address of the wifi router with QtNetwork or another module?

    Thanks

    1 Reply Last reply
    0
    • R Offline
      R Offline
      Rahul Das
      wrote on last edited by
      #2

      Am not sure if there is a platform independent way of getting the MAC.

      "Here":http://www.qtforum.org/article/1801/how-to-obtain-mac-address.html is a thread , which shows how to get the MAC.


      Declaration of (Platform) independence.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        metRo_
        wrote on last edited by
        #3

        thanks, there are solutions for windows and linux :) but i still with the problem because i want to use it in mobile phones too :s

        1 Reply Last reply
        0
        • R Offline
          R Offline
          Rahul Das
          wrote on last edited by
          #4

          For Maemo / Meego you have the ways of linux.

          For symbian, you can find it in "here":http://www.developer.nokia.com/Community/Wiki/How_to_get_MAC_address_of_a_WLAN_device.

          Edit : I haven't tried. May be you could make use of "QNetworkInterface::hardwareAddress ()":http://doc.qt.nokia.com/stable/qnetworkinterface.html#hardwareAddress


          Declaration of (Platform) independence.

          1 Reply Last reply
          0
          • E Offline
            E Offline
            eman86
            wrote on last edited by
            #5

            It's the link "QNetworkInterface::hardwareAddress ()":http://qt-project.org/doc/qt-4.8/qnetworkinterface.html#hardwareAddress

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved