Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

system serial number

Featured Replies

Hi,

Is there any function available in filemaker to get the serial number of system except Get(SystemNicAddress) function. or any other method available to get that serial number.

Thanks,

John wiliams.

What's the serial number? You can get the NIC and IP addresses of the network cards with the get functions.

If you want some sort of OS environment variable you'll need to use OS-level scripting.

Let us know what exactly you're after and what OS this is.

For example, on a Mac, there are 2 ways I know of to get this via FileMaker's Perform AppleScript script step, running an AppleScript using shell scripting; either:

do shell script "ioreg -c 'IOPlatformExpertDevice' | awk '/IOPlatformSerialNumber/ {print $4}' | cut -b 2-12"

-- or

do shell script "system_profiler SPHardwareDataType | grep 'Serial Number'| cut -d ':' -f 2 | cut -c 2-"

[be aware however that machines which have had a motherboard replacement may or may not have a unique serial number. Apparently if Apple replaces the motherboard, they may not add the serial number unless you tell them to. At least that is my experience, and what I read is the procedure (may have changed; been a few years). I have a 20" iMac which just has "Serial Numb" or some such.]

I don't know know the Windows equivalent. Like to.

On Windows you can get it through the WMI (Windows Management Instrumentation - sort of like Apple's System Profiler).

A VBscript would look like this:


On Error Resume Next

strComputer = "."

Set objWMIService = GetObject("winmgmts:" & strComputer & "rootcimv2")

Set colItems = objWMIService.ExecQuery("Select * from Win32_BaseBoard")

For Each objItem in colItems

    Wscript.Echo "Serial Number: " & objItem.SerialNumber

Next

You can also invoke WMI from the command line by calling "wmic.exe" but I don't have that code ready. A google will help you out there.

John,

I know that you're using Dunnings' Easy Encrypt and wish to create a license key that locks the runtime to a workstation. Be aware that NIC address can return multiple values (more than one NIC per workstation). Also, they can change if the cards are changed.

Also, you'll need a business process to allow a legitimate user to transfer their runtime from one computer to another (they buy a new one, the old one crashes, etc.)

Locking to a workstation is a support-intensive approach.

  • Author

i want to obtain serial no. of machine similar like (nh905659yu7y)

can i obtain this using filemaker functions not by using apple scripts.

  • 2 weeks later...

No, you have to call on the OS to get that information...

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.