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, WebsocketclientBinaryDataEventArgs e);

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

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

Public Class WebsocketclientBinaryDataEventArgs Inherits EventArgs
  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]