using System; namespace NAudio.Midi { /// /// MIDI In Sysex Message Information /// public class MidiInSysexMessageEventArgs : EventArgs { /// /// Create a new Sysex MIDI In Message EventArgs /// /// The Sysex byte array received /// Milliseconds since MidiInStart public MidiInSysexMessageEventArgs(byte[] sysexBytes, int timestamp) { this.SysexBytes = sysexBytes; this.Timestamp = timestamp; } /// /// The Raw Sysex bytes received in a long MIDI message /// public byte[] SysexBytes { get; private set; } /// /// The timestamp in milliseconds (since MidiInStart) for this message /// public int Timestamp { get; private set; } } }