Description
The SteamId
property of the Connection
class represents the unique Steam identifier associated with this connection. This identifier is used to uniquely identify a user within the Steam ecosystem, allowing for integration with Steam services and features.
Usage
To access the SteamId
property, you need to have an instance of the Connection
class. This property is read-only and provides the Steam ID of the user associated with the connection.
Example
// Example of accessing the SteamId property
Connection connection = ...; // Assume this is an existing connection
SteamId userSteamId = connection.SteamId;
// Use the SteamId for further operations
Console.WriteLine($"User's Steam ID: {userSteamId}");