SimRacing.Telemetry.Receiver.F1.22 1.0.0

dotnet add package SimRacing.Telemetry.Receiver.F1.22 --version 1.0.0
NuGet\Install-Package SimRacing.Telemetry.Receiver.F1.22 -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SimRacing.Telemetry.Receiver.F1.22" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SimRacing.Telemetry.Receiver.F1.22 --version 1.0.0
#r "nuget: SimRacing.Telemetry.Receiver.F1.22, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install SimRacing.Telemetry.Receiver.F1.22 as a Cake Addin
#addin nuget:?package=SimRacing.Telemetry.Receiver.F1.22&version=1.0.0

// Install SimRacing.Telemetry.Receiver.F1.22 as a Cake Tool
#tool nuget:?package=SimRacing.Telemetry.Receiver.F1.22&version=1.0.0


The F1_2022_UDP_Receiver class is a UDP packet receiver specifically designed to work with the 2022 Formula 1 data streams. It provides an event-driven architecture, enabling users to subscribe to different kinds of packet data types (like Car Status, Lap Data, Session Data etc.) and handle them according to their specific needs. The class supports a default or user-specified IP address and port for listening to incoming packets. Usage

First, you create an instance of the F1_2022_UDP_Receiver class. Use the default constructor to listen for any IP and the game's default port.

F1_2022_UDP_Receiver receiver = new F1_2022_UDP_Receiver();

or specify the IP address and port

F1_2022_UDP_Receiver receiver = new F1_2022_UDP_Receiver("", 20777);

Then, subscribe to the events you are interested in.

receiver.CarStatusDataPacketReceived += (sender, e) => {
    // Handle the car status data packet
    PacketCarStatusData carStatus = e.PacketCarStatusData;
    // your code here

receiver.LapDataPacketReceived += (sender, e) => {
    // Handle the lap data packet
    PacketLapData lapData = e.PacketLapData;
    // your code here

Repeat for other packet types as necessary. When you are ready to start receiving packets, call the StartReceiving method:


This will start a background task that continuously listens for incoming packets and raises the appropriate events when packets of the subscribed types are received.

Finally, when you are done receiving packets, call the StopReceiving method to stop the background task:


This usage pattern enables you to process different kinds of data packets in different ways, according to your specific application's needs, while the F1_2022_UDP_Receiver class takes care of the low-level details of receiving and parsing the packets.

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net7.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 795 6/20/2023

Initial Upload