Facepunch.Steamworks Wiki

Steamworks.SteamServer.PublicIp

Syntax

static System.Net.IPAddress PublicIp { get; }

Description

To the best of its ability this tries to get the server's current public ip address. Be aware that this is likely to return null for the first few seconds after initialization.