Facepunch.Steamworks Wiki

Steamworks.SteamNetworkingUtils.LocalPingLocation

Syntax

Description

Return location info for the current host.

It takes a few seconds to initialize access to the relay network. If you call this very soon after startup the data may not be available yet.

This always return the most up-to-date information we have available right now, even if we are in the middle of re-calculating ping times.