AWJ.GameServerInfo 1.0.3

dotnet add package AWJ.GameServerInfo --version 1.0.3                
NuGet\Install-Package AWJ.GameServerInfo -Version 1.0.3                
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="AWJ.GameServerInfo" Version="1.0.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AWJ.GameServerInfo --version 1.0.3                
#r "nuget: AWJ.GameServerInfo, 1.0.3"                
#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 AWJ.GameServerInfo as a Cake Addin
#addin nuget:?package=AWJ.GameServerInfo&version=1.0.3

// Install AWJ.GameServerInfo as a Cake Tool
#tool nuget:?package=AWJ.GameServerInfo&version=1.0.3                

AWJ.GameServerInfo

AWJ.GameServerInfo is a NuGet package to simplify the retrieving game server info from 7 Days to Die dedicated servers.

Example usage

private readonly GameServerService service = new();
var serverInfo = await service.GetServerInfoAsync(GameHosts.ChillCatWar3zuk);
GameHost = serverInfo.GameHost;
CurrentTime = DateTime.Now;
LastUpdated = CurrentTime;
CurrentServerTime = serverInfo.CurrentServerTime;
CurrentPlayers = serverInfo.CurrentPlayers;
DayNightLength = serverInfo.DayNightLength;
Previous = serverInfo.Previous;
Next = serverInfo.Next;
RealTime = CurrentTime?.AddMinutes(serverInfo.RealMinutes);

UDP protocol

Internally this is using the UDP protocol to communicate directly with the game server. Because of this, you cannot use this in the browser such as a Blazor web assembly.

You can use this package with Blazor server-side rendering. But, I do not believe that there is an inexpensive way to host an application using UDP on Azure.

It can be used with other mobile and Windows technologies such as with Maui.

SteamQuery.NET

SteamQuery.NET NuGet package is being used to handle the network traffic and binary translations.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.3 160 3/7/2025
1.0.1 111 2/18/2025