SteamKit

SteamRELGPL-2.1活跃维护

用 .NET 与 Valve Steam 网络通信的库,封装登录、好友、库存等协议交互,方便开发 Steam 机器人或第三方客户端。

SteamKit2 is a .NET library designed to interoperate with Valve's Steam network. It aims to provide a simple, yet extensible, interface to perform various actions on the network.

3.5.0发布于 2026-10-19 09:07 UTC3,225star +1 / 7 天545fork同步于 2026-11-10 11:41 UTC

怎么上手

README 里没有找到可直接复制的安装命令

README 里没有找到可直接复制的安装命令,请到 README 或官方文档查看安装方式。

硬件要求

README 没有说明硬件要求。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

这个项目的说明还在生成中,先参考下面「最近发版」和 README。

最近发版

5 个版本3.5.0
  1. 4.0.0-Beta.2pre-release2026-11-05 · 2026-11-05 23:50 UTC
    查看更新说明

    What's Changed

    Full Changelog: https://github.com/SteamRE/SteamKit/compare/4.0.0-Beta.1...4.0.0-Beta.2

  2. 4.0.0-Beta.1pre-release2026-11-02 · 2026-11-02 16:48 UTC
    查看更新说明
    • Added native AOT and trimming support with compile-time protobuf-net models (SteamKitProtobuf.Model, UnifiedService.Model).
    • Added TypeModel overloads to ClientMsgProtobuf, ClientGCMsgProtobuf, SendMessage, SendNotification and CallProtobufAsync.
    • WebAPI Call and CallAsync now flatten list arguments to name[0], name[1].
    • Fixed WebAPI key not being sent when a call had no arguments.
    • Fixed CallProtobufAsync rejecting format=protobuf_raw in arguments.
    • Fixed empty parameters in WebAPI query strings.
    • Updated dependencies.

    BREAKING CHANGES

    • Removed dynamic support from WebAPI.Interface and WebAPI.AsyncInterface, use Call, CallAsync or CallProtobufAsync instead.
  3. 3.5.1-Alpha.1pre-release2026-10-21 · 2026-10-21 02:01 UTC
    查看更新说明

    This is a test of NuGet Trusted Publishing. It is otherwise identical to v3.5.0.

  4. 3.5.0最新正式版2026-10-19 · 2026-10-19 09:07 UTC
    • Added CallbackManager.Subscribe overloads that accept callbacks returning Task.
    • Added SteamClient.GetRequiredHandler<T>, which throws if the handler is not registered.
    • Added SteamUserStats.DownloadLeaderboardEntriesForUsers.
    • Added BypassProxiesOfType to CDN Server.
    • Replaced the vendored LZMA decoder with a span-based decoder.
    • Vectorized Adler-32 checksums.
    • Fixed GetAuthSessionTicket hanging or throwing "Ticket verification failed" when called repeatedly.
    • Fixed a crash or disconnect when messages were sent from multiple threads at the same time on an encrypted connection.
    • Fixed a NullReferenceException when sending a message while an encrypted connection is disconnecting.
    • Fixed an exception when closing an already disposed websocket.
    • Fixed decrypted depot chunk length validation.
    • Short or corrupt VZstd chunks now throw InvalidDataException.
    • Updated Steam enums and protobufs.
    • Updated dependencies.

    BREAKING CHANGES

    • SteamCloud now uses unified messages: RequestUGCDetails, GetSingleFileInfo and ShareFile return Task, and their callbacks no longer derive from CallbackMsg.
    • Removed the deprecated IsSteamDeck from LogOnDetails, use GamingDeviceType instead.
    • Removed steammessages_clientserver_ufs protobufs.
  5. 3.4.02026-01-14 · 2026-01-14 22:23 UTC
    查看更新说明
    • Added UserCountryCode to LoggedOnCallback.
    • Added privacy-related enums.
    • Moved Utils.AdlerHash to DepotChunk.AdlerHash which is an unrolled version for better performance.
    • Removed LINQ allocations from KeyValue indexer.
    • Updated EGamingDeviceType enum.
    • Fixed GameID.GetHashCode.
    • Fixed LinkTarget not being decrypted in DepotManifest.
    • Updated Steam enums and protobufs.
    • Updated dependencies.

    BREAKING CHANGES

    • SteamKit now targets .NET 10.
    • Removed deprecated Facebook fields from AccountInfoCallback.

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    SteamKit

    Build Status (CI/CD) NuGet codecov

    SteamKit (also known as SteamKit2) is a .NET library designed to interoperate with Valve's Steam network. It aims to provide a simple, yet extensible, interface to perform various actions on the network.

    Getting Binaries

    Visual Studio

    SteamKit is distributed as a NuGet package.

    Simply install SteamKit using the package manager in Visual Studio, and NuGet will add all the required dependencies and references to your project.

    Other

    We additionally distribute binaries on our releases page.

    For more information on installing SteamKit, please refer to the Installation Guide on the wiki.

    Documentation

    Documentation consists primarily of XML code documentation provided with the binaries, and our wiki.

    License

    SteamKit is released under the LGPL-2.1 license.

    Dependencies

    In order to use SteamKit at runtime, .NET 10.0 Runtime or higher is required.

    If you're using the SteamKit NuGet package, dependencies should be resolved for you. See the Installation Guide for more information.

    To compile SteamKit, .NET 10.0 SDK is required.

    Discussions

    If you have questions, use the GitHub Discussions section, also try searching for an existing discussion.

    IRC: irc.libera.chat / #steamre (join via webchat)