SteamAppInfo 1.1.1
dotnet add package SteamAppInfo --version 1.1.1
NuGet\Install-Package SteamAppInfo -Version 1.1.1
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="SteamAppInfo" Version="1.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SteamAppInfo" Version="1.1.1" />
<PackageReference Include="SteamAppInfo" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SteamAppInfo --version 1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SteamAppInfo, 1.1.1"
#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.
#:package SteamAppInfo@1.1.1
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SteamAppInfo&version=1.1.1
#tool nuget:?package=SteamAppInfo&version=1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
SteamAppInfo
This is a project that aims to provide a simple interface for retrieving Steam app information from the appinfo.vdf file within the local appcache.
Usage
For a more comprehensive example, see the SteamAppInfo.Example project.
Get a list of all Steam apps
// Helper function that automatically finds where Steam is installed. Works on Windows, Linux and Mac with most standard installs.
SteamClient steamClient = SteamClient.AutoDetectSteam();
var apps = steamClient.GetApps();
Structure of apps
Apps have a simple structure:
public class App
{
public string Name { get; set; }
public uint AppId { get; set; }
public InfoState InfoState { get; set; }
public AppType AppType { get; set; }
public DateTimeOffset LastUpdated { get; set; }
public ulong Token { get; set; }
public ReadOnlyCollection<byte> Hash { get; set; }
public ReadOnlyCollection<byte>? BinaryDataHash { get; set; }
public uint ChangeNumber { get; set; }
public KVObject Data { get; set; }
}
public enum InfoState
{
NoInfo = 1,
Normal = 2
}
public enum AppType
{
Unknown,
Config,
Game,
Tool,
Demo,
DLC,
Application,
Music,
config,
Beta,
Video,
Hardware
}
For documentation on the KVObject, see here.
Special mentions
This project would not have been possible without the ValveKeyValue project by xPaw.
| Product | Versions 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. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Microsoft.Win32.Registry (>= 5.0.0)
- ValveKeyValue (>= 0.20.0.417)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.