Status Event

Fires with information about the operation.

Syntax

public event OnStatusHandler OnStatus;

public delegate void OnStatusHandler(object sender, RudpserverStatusEventArgs e);

public class RudpserverStatusEventArgs : EventArgs {
  public string ConnectionId { get; }
  public string Message { get; }
}
Public Event OnStatus As OnStatusHandler

Public Delegate Sub OnStatusHandler(sender As Object, e As RudpserverStatusEventArgs)

Public Class RudpserverStatusEventArgs Inherits EventArgs
  Public ReadOnly Property ConnectionId As String
  Public ReadOnly Property Message As String
End Class

Remarks

This event fires with information about the operations performed during the connection. This is useful for logging and debugging purposes. By default only a minimum of information is provided through the event. See LogOptions to enable more verbose information.

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