×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Does each computer has a unique identifier?

Does each computer has a unique identifier?

Does each computer has a unique identifier?

(OP)
Hi,
   I am trying to write a program which can only install in some computers.  Does each computer has a unique identifier?

RE: Does each computer has a unique identifier?

I have 2 approaches:
1. Use conditional if statements (#If). The following is an example of what I know is supported:

#If Mac Then
   '. Place exclusively Mac  statements here.
#ElseIf Win32 Then   
   '. Place exclusively 32-bit Windows statements here.
#Else
   '. Place other platform statements here.
#End If

2. Use SysInfo control (SysInfo.ocx). Example:
   Dim MsgEnd As String
   Select Case sysDetectOS.OSPlatform
      Case 0
         MsgEnd = "Unidentified"
      Case 1
         MsgEnd = "Windows 95, ver. "& _
           CStr(sysDetectOS.OSVersion) & "(" & _
           CStr(sysDetectOS.OSBuild) & ")"
      Case 2
         MsgEnd = "Windows NT, ver. " & _
           CStr(sysDetectOS.OSVersion) & "(" & _
           CStr(sysDetectOS.OSBuild) & ")"
   End Select
   MsgBox "System: " & MsgEnd
Note: sysDetectOS referenced to a SysInfo object.

RE: Does each computer has a unique identifier?

(OP)
thanks

RE: Does each computer has a unique identifier?

One way to uniquely identify a computer on a network is by its ethernet card MAC address, which is unique by assignment.

TTFN

RE: Does each computer has a unique identifier?

(OP)
is there a vb function i can use to get this address??

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources