DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Network card's address

  1. #1
    SI SOL Guest

    Network card's address


    Hello,

    I want to implement security on my application (based on network card's address),
    so that it will not run on machine with unregistered card's address. Is it
    posible to get the information about card's address ?

    Thank in advance

    SI SOL


  2. #2
    mike m Guest

    Re: Network card's address


    search msdn for this title "HOWTO: Get the MAC Address for an Ethernet Adapter"

    this article has a short c program that will get the mac address of the nci
    on the machine...u can use this as your starting point.

    cheers,
    mike


    "SI SOL" <SI_SOL@MAIL.COM> wrote:
    >
    >Hello,
    >
    >I want to implement security on my application (based on network card's

    address),
    >so that it will not run on machine with unregistered card's address. Is

    it
    >posible to get the information about card's address ?
    >
    >Thank in advance
    >
    >SI SOL
    >



  3. #3
    Eli Allen Guest

    Re: Network card's address

    You do realize that drivers are what reports the MAC address in NT so some
    drivers allow the user to modify what is being reported.
    --
    Eli Allen
    eallen@bcpl.net

    "SI SOL" <SI_SOL@MAIL.COM> wrote in message news:398ef0bc$1@news.devx.com...
    >
    > Hello,
    >
    > I want to implement security on my application (based on network card's

    address),
    > so that it will not run on machine with unregistered card's address. Is it
    > posible to get the information about card's address ?
    >
    > Thank in advance
    >
    > SI SOL
    >




  4. #4
    Michael Howard Guest

    Re: Network card's address


    if you are using Windows 2000 you can use WMI, check out the Win32_NetworkAdapter
    object, it has a property named MACAddress.

    cheers, MH


    "mike m" <michaelm@saccapital.com> wrote:
    >
    >search msdn for this title "HOWTO: Get the MAC Address for an Ethernet Adapter"
    >
    >this article has a short c program that will get the mac address of the

    nci
    >on the machine...u can use this as your starting point.
    >
    >cheers,
    >mike
    >
    >
    >"SI SOL" <SI_SOL@MAIL.COM> wrote:
    >>
    >>Hello,
    >>
    >>I want to implement security on my application (based on network card's

    >address),
    >>so that it will not run on machine with unregistered card's address. Is

    >it
    >>posible to get the information about card's address ?
    >>
    >>Thank in advance
    >>
    >>SI SOL
    >>

    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center