Jump to content

Computer � unique identifiers?


Recommended Posts

I need to disover the best method of identifying/proving which computer an application is running on.

Some of the variables I found are:

@ComputerName

$SERIAL = DriveGetSerial("C:\")

@IPAddress1

These, however, can be changed and I wonder if others can advise me of better methods?

Also... I am not sure what the @IPAddress1 is all about in relation to the computer. This is obviously not an ip assigned from an isp or router. I did do a search on google for various terms like "computer ip" but did not find my answer yet.

Is the computer ip something that can be modified or changed depending on other factors?

Link to comment
Share on other sites

How about MAC addresses which are unique identifiers attached to network cards?

Local $o_WMIService = ObjGet( "winmgmts:\\" & @ComputerName & "\root\CIMV2" )
    Local $Items = $o_WMIService.ExecQuery( "SELECT MACAddress FROM Win32_NetworkAdapter", "WQL", 0x30 )
    If IsObj( $Items ) Then
        Local $objItem
        For $objItem In $Items
            MsgBox( 0, "MAC Addresses", $objItem.MACAddress )
        Next
    EndIf

It's from this article.

Is the computer ip something that can be modified or changed depending on other factors?

Yup, but they should be unique to eachother in the same level area.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...