private void OnFrameDropped(FrameDroppedByChecksumEventArgs e) { FrameDroppedByChecksumEventHandler handler = FrameDroppedByChecksum; if (handler != null) { handler(this, e); } }
void FrameDroppedByChecksumHandler(object sender, FrameDroppedByChecksumEventArgs e) { NDLogger.Log("Frame dropped because of checksum:", LogLevel.Error); logBytesRead(e.RawBytes); }