Facepunch.Steamworks Wiki

Revision Difference

SteamApps.CommandLine#522574

<member type="property" namespace="Steamworks" parent="SteamApps" name="CommandLine" static="true"> <member category="interface" type="property" namespace="Steamworks" parent="SteamApps" name="CommandLine" static="true"> <return type="string"></return> <get public="true""></get> <summary>Get command line if game was launched via Steam URL, e.g. steam://run/appid//command line/. This method of passing a connect string (used when joining via rich presence, accepting an invite, etc) is preferable to passing the connect string on the operating system command line, which is a security risk. In order for rich presence joins to go through this path and not be placed on the OS command line, you must set a value in your app's configuration on Steam. Ask Valve for help with this.</summary> </member>