Narod.SteamGameFinder 2.1.0

dotnet add package Narod.SteamGameFinder --version 2.1.0
                    
NuGet\Install-Package Narod.SteamGameFinder -Version 2.1.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="Narod.SteamGameFinder" Version="2.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Narod.SteamGameFinder" Version="2.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Narod.SteamGameFinder" />
                    
Project file
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 Narod.SteamGameFinder --version 2.1.0
                    
#r "nuget: Narod.SteamGameFinder, 2.1.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.
#:package Narod.SteamGameFinder@2.1.0
                    
#: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=Narod.SteamGameFinder&version=2.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Narod.SteamGameFinder&version=2.1.0
                    
Install as a Cake Tool

Narod's Steam Game Finder

A C# library compatible back to Windows 7 (.NET 3.5 edition) & modern .NET platforms (.NET 8.0 edition), which finds Steam and Games.

Summary

This library allows you to check if Steam is installed, the Steam install path, the Steam library paths, and locate game install directories.

Which edition should I use?

If you use the Nuget package manager, the versions are handled automatically for you - no further action required. The two versions behave identically regardless.

For .NET 8.0+ users, use SteamGameFinder2.dll

For .NET 3.5+ users, use SteamGameFinder.dll

Usage

Code examples in C#

  • Download the latest release from the releases tab, or find on Nuget (Narod.SteamGameFinder)
    • (Only required if downloaded from releases) Add a reference of the library in your project. (Project → Add Reference... → Browse → Browse...)
  • Import in to your program
using Narod.SteamGameFinder;
  • Create instance of SteamGameLocator
SteamGameLocator steamGameLocator = new SteamGameLocator();
  • Check if Steam is installed
bool isSteamInstalled = steamGameLocator.getIsSteamInstalled();
  • Get Steam Install path
string steamInstallDir = steamGameLocator.getSteamInstallLocation();
  • Get Steam Library folders
List<string> paths = steamGameLocator.getSteamLibraryLocations();
  • Get Steam Game Install Path
string steamGameInstallDir = steamGameLocator.getGameInfoByFolder("SteamGameFolderName").steamGameLocation
  • Get Steam Game Install Path by ID
string steamGameIDInstallDir = steamGameLocator.getGameInfoByID("0000").steamGameLocation
  • Get Steam Game Install Path by Name
string steamGameNameInstallDir = steamGameLocator.getGameInfoByName("Tropico 6").steamGameLocation
  • Return all installed games
List<string> allSteamInstalledGames = steamGameLocator.getAllGames()

Further Help

You can find the 'TestApp' solution in this repository which has an example of how to use the library.

Helping

If you find any bugs, please report it as an issue.

I would also appreciate any extra functionality, feel free to open a PR request.

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.  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. 
.NET Framework net35 is compatible.  net40 was computed.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has 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
2.1.0 125 7/30/2025
2.0.0 144 7/26/2025
1.0.1 611 11/6/2022
1.0.0 251 11/6/2022

Adds indexing of games and returning all installed games.