From 714cc5ae9da3ce30f65edfdd195c7deb148eba35 Mon Sep 17 00:00:00 2001 From: Archi Date: Mon, 2 Oct 2023 16:16:19 +0200 Subject: [PATCH] Closes #3019 --- ArchiSteamFarm/Steam/Bot.cs | 5 +++++ 1 file changed, 5 insertions(+) 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; }