using System.Runtime.InteropServices; namespace Inspectron.HawkEye.Protocol { [StructLayout(LayoutKind.Sequential, Pack = 0)] public struct ImageSettings { public int Shutter { get; set; } public int Gain { get; set; } public int SensorWidth { get; set; } public int Lines { get; set; } public int CaptureBuffer { get; set; } public int UseExternalTrigger { get; set; } public int Divider { get; set; } } }