Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Get MAC Address

Get MAC Address

Scheduled Pinned Locked Moved ASP.NET
csharpasp-net
8 Posts 4 Posters 0 Views 1 Watching
  • 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.
  • A Offline
    A Offline
    Any_India
    wrote on last edited by
    #1

    Is there any code to get the client MAC Address in asp.net who will use to access the page.

    A A A 3 Replies Last reply
    0
    • A Any_India

      Is there any code to get the client MAC Address in asp.net who will use to access the page.

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      Any_India wrote:

      Is there any code to get the client MAC Address in asp.net who will use to access the page.

      Simply You Can't. Client System Runs with JAVAScript, and JavaScript Does not have sufficient access permission that it can read client System Info. Now, the alternative solution is the ActiveX. But It will work only on IE

      Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

      A 1 Reply Last reply
      0
      • A Abhijit Jana

        Any_India wrote:

        Is there any code to get the client MAC Address in asp.net who will use to access the page.

        Simply You Can't. Client System Runs with JAVAScript, and JavaScript Does not have sufficient access permission that it can read client System Info. Now, the alternative solution is the ActiveX. But It will work only on IE

        Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

        A Offline
        A Offline
        Any_India
        wrote on last edited by
        #3

        Plz Provide me the Solution for this.Bcoz i want to make single pc access login which is possible through MAC IP.

        A 1 Reply Last reply
        0
        • A Any_India

          Plz Provide me the Solution for this.Bcoz i want to make single pc access login which is possible through MAC IP.

          A Offline
          A Offline
          Abhijit Jana
          wrote on last edited by
          #4

          I have already told you, if you want to run application only on IE, you can use ActiveX easily. But ActiveX having many limitations.

          Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

          A 1 Reply Last reply
          0
          • A Any_India

            Is there any code to get the client MAC Address in asp.net who will use to access the page.

            A Offline
            A Offline
            Abhishek Sur
            wrote on last edited by
            #5

            I would rather suggest you to allow access to people based on their IP address. Just log the IP address and Time. Whenever you want to track the PC, contact the service provider for the same IP and get its actual location. If everyone knows MAC address from websites, there will be no hackers left in this world. ;) ;)

            Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


            My Latest Articles-->** Simplify Code Using NDepend
            Basics of Bing Search API using .NET
            Microsoft Bing MAP using Javascript

            1 Reply Last reply
            0
            • A Abhijit Jana

              I have already told you, if you want to run application only on IE, you can use ActiveX easily. But ActiveX having many limitations.

              Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

              A Offline
              A Offline
              Abhishek Sur
              wrote on last edited by
              #6

              If everyone knows MAC address from websites, there will be no hackers left in this world. :laugh: :laugh:

              Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


              My Latest Articles-->** Simplify Code Using NDepend
              Basics of Bing Search API using .NET
              Microsoft Bing MAP using Javascript

              A 1 Reply Last reply
              0
              • A Abhishek Sur

                If everyone knows MAC address from websites, there will be no hackers left in this world. :laugh: :laugh:

                Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


                My Latest Articles-->** Simplify Code Using NDepend
                Basics of Bing Search API using .NET
                Microsoft Bing MAP using Javascript

                A Offline
                A Offline
                Abhijit Jana
                wrote on last edited by
                #7

                Yes.

                Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

                1 Reply Last reply
                0
                • A Any_India

                  Is there any code to get the client MAC Address in asp.net who will use to access the page.

                  A Offline
                  A Offline
                  AlexeiXX3
                  wrote on last edited by
                  #8

                  If you are tryint to get mac address to implement some kind of security restriction... I think the MAC address can be changed easily So it could be even more effective to restrict users by ip, eventhough this ip traking wouldnt work as expected when client connect though the same public ip

                  Alexei Rodriguez

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups