up Inquisit Language Reference

macAddress property

This property reports the MAC addresses associated with the computer's network card.

Member of

<computer>

Syntax

computer.name.macAddress

Read Only

Type

array

Remarks

This is a list property containing a list of all of the MAC addresses the computer has. The MAC address is a globally unique code permanently assigned to a network adapter. As such, it can be a useful way to detect repeat responders over the internet. If the computer has no network adapter, the result is all zeroes. A computer with multiple network cards will thus have multiple MAC addresses in this collection.

Examples

The following displays the mac address in a text stimulus:

<text myText>
/ items= ("correct = <% computer.macAddress[0]] %>")
</text>

The following displays the mac address in an instruction page:

<page myPage>
correct = <% computer.macAddress[0]] %>
</page>

Copyright Millisecond Software, LLC. All rights reserved.