public static List <VehicleScapeAPI.Signal> GetSignals(uint messageHandle) { List <VehicleScapeAPI.Signal> signals = new List <VehicleScapeAPI.Signal>(); int signalCount = 0; VehicleScapeAPI.GetSignals(messageHandle, IntPtr.Zero, ref signalCount); if (signalCount > 0) { VehicleScapeAPI.Signal[] sigs = new VehicleScapeAPI.Signal[signalCount]; VehicleScapeAPI.GetSignals(messageHandle, sigs, ref signalCount); signals.AddRange(sigs); } return(signals); }