SteamGamesNet 0.0.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package SteamGamesNet --version 0.0.3
NuGet\Install-Package SteamGamesNet -Version 0.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="SteamGamesNet" Version="0.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SteamGamesNet --version 0.0.3
#r "nuget: SteamGamesNet, 0.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 SteamGamesNet as a Cake Addin
#addin nuget:?package=SteamGamesNet&version=0.0.3

// Install SteamGamesNet as a Cake Tool
#tool nuget:?package=SteamGamesNet&version=0.0.3

SteamGamesNet

Get all game related informations using the app id or get all installed games that are found on a device.

Example code:

Constructor parameters for optional change of language/useragent

SteamGamesClient(string language = "", string useragent = "")

Get all installed steamapps on the device (WIN only)

GetAllSteamGameIds()

SteamGamesClient SgC = new();
int[] SteamIdList = SgC.GetAllSteamGameIds();

if (SteamIdList.Length > 0)
{
    SteamIdList.ToList().ForEach(SteamGameId => Console.WriteLine(SteamGameId));
}
else
{
    Console.WriteLine("No games found on this device");
}
Get app data using an appid

GetAppData()

SteamGamesClient SgC = new();
int ExampleSteamAppId = 787790;

int ExampleCorruptSteamAppId = 899998;
RawSteamGame ExampleApp = SgC.GetAppData(ExampleSteamAppId);

if (ExampleApp != null)
{
    Console.WriteLine("Example output:");
    Console.WriteLine(ExampleApp.Data.ToString());
}
else
{
    Console.WriteLine("This app obviously doesn't exist, the id is wrong or something else is not working correctly!");
}
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  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.

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
0.0.5 155 12/8/2023
0.0.4 131 6/19/2023
0.0.3 224 3/4/2023
0.0.2 270 12/21/2022
0.0.1 265 12/20/2022