SecureBlackbox 2020 .NET Edition

Questions / Feedback?

BinaryData Event

Passes a received chunk of binary data to the application.

Syntax

public event OnBinaryDataHandler OnBinaryData;

public delegate void OnBinaryDataHandler(object sender, WebsocketserverBinaryDataEventArgs e);

public class WebsocketserverBinaryDataEventArgs : EventArgs {
  public long ConnectionID { get; }
  public byte[] Buffer { get; }
  public bool Last { get; }
}
Public Event OnBinaryData As OnBinaryDataHandler

Public Delegate Sub OnBinaryDataHandler(sender As Object, e As WebsocketserverBinaryDataEventArgs)

Public Class WebsocketserverBinaryDataEventArgs Inherits EventArgs
  Public ReadOnly Property ConnectionID As Long
  Public ReadOnly Property Buffer As Byte()
  Public ReadOnly Property Last As Boolean
End Class

Remarks

The component fires this event repeatedly to pass incoming pieces of binary data to the application. The Last parameter indicates that this is the last chunk.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 .NET Edition - Version 20.0 [Build 8165]