Home Forums Reply To:

Grant [Tobii]

Hi @dz32 thanks for your patience whilst we tried to retrieve the correct syntax for you.

The following snipet should do the trick:

using System;
using Tobii.Interaction;

namespace Get_Serial
    public class Program
        public static void Main()
            Tobii.Interaction.Host host = new Host();


            var serialNumber = host.Context.GetState(Tobii.Interaction.Framework.StatePaths.EyeTrackingInfoSerialNumber).GetStateValueOrDefault<string>();


Please try it out and let us know if we can be of any further assistance.