Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2009
    Location
    Ukraine
    Posts
    19

    Huh? How to get MAC w/o network conection

    I have some trouble:

    Code:
    lan = System.GetLANInfo(); 
    Paragraph.SetText("IP Address: "..lan.IP.."\nMAC: "..lan.NIC);
    When PC is not conected to switch/hub I get result like that:

    IP Address: 127.0.0.1
    MAC: None


    How to get real data not localhost in this case?

  2. #2
    Join Date
    Aug 2003
    Posts
    2,427
    If your computer is not connected to a network, you can't get the network address - none exists.

    The loopback address is the only one available. Type "ipconfig /all" in a command prompt to show all the information about your IP and network adapter/s.

  3. #3
    Join Date
    Feb 2009
    Location
    Ukraine
    Posts
    19
    So, this not exactly I want. I know about Loopback device and ipconfig command, but I would to get some information about customers PCs.
    I need these 2 parameters (IP/MAC) for run projects.
    If MAC is in blacklist, project not run on this machine.
    Maybe anyone can show other ways to resolve this?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts