Class GameFolderLocator
Namespace: ValveResourceFormat.IO
Assembly: ValveResourceFormat.dll
Provides methods for locating Steam game installations and libraries.
csharp
public static class GameFolderLocatorInheritance
Properties
SteamPath
Path to the root of Steam installation. null if not found.
csharp
public static string? SteamPath { get; }Property Value
Methods
FindAllSteamGames()
Find all installed games in all Steam library folders.
csharp
public static List<GameFolderLocator.SteamLibraryGameInfo> FindAllSteamGames()Returns
List<GameFolderLocator.SteamLibraryGameInfo>
A list of all installed Steam games.
FindSteamGameByAppId(int)
Optimized way to find Steam game by app id. Opens only 1 file for the specified app, instead of opening new file for every installed game.
csharp
public static GameFolderLocator.SteamLibraryGameInfo? FindSteamGameByAppId(int appId)Parameters
appId int
Returns
GameFolderLocator.SteamLibraryGameInfo?
FindSteamLibraryFolderPaths()
Find all the Steam installation library paths.
csharp
public static List<string> FindSteamLibraryFolderPaths()Returns
A list of Steam library paths.

