diff --git a/ArchiSteamFarm/Steam/Bot.cs b/ArchiSteamFarm/Steam/Bot.cs index 0edea104c1d39..57ca20a1ea4be 100644 --- a/ArchiSteamFarm/Steam/Bot.cs +++ b/ArchiSteamFarm/Steam/Bot.cs @@ -29,6 +29,7 @@ using System.Globalization; using System.IO; using System.Linq; +using System.Net; using System.Net.Http; using System.Security.Cryptography; using System.Text.RegularExpressions; @@ -134,6 +135,10 @@ public sealed class Bot : IAsyncDisposable, IDisposable { [PublicAPI] public bool IsPlayingPossible => !PlayingBlocked && !LibraryLocked; + [JsonProperty] + [PublicAPI] + public IPAddress? PublicIP => SteamClient.PublicIP; + [JsonIgnore] [PublicAPI] public SteamApps SteamApps { get; }