Class PacketEventArgs
Event arguments for UDP packet send/receive events.
Inherited Members
Namespace: MOSAIC.Models.Streaming
Assembly: MOSAIC.dll
Syntax
public class PacketEventArgs : EventArgs
Constructors
PacketEventArgs(int)
Initializes a new PacketEventArgs.
Declaration
public PacketEventArgs(int byteCount)
Parameters
| Type | Name | Description |
|---|---|---|
| int | byteCount | Number of bytes in the packet. |
Properties
ByteCount
Number of bytes in the packet.
Declaration
public int ByteCount { get; }
Property Value
| Type | Description |
|---|---|
| int |
Timestamp
Timestamp when the event occurred.
Declaration
public DateTime Timestamp { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |