IsPasswordProtected

From RAGE Multiplayer Wiki
Revision as of 06:29, 14 July 2020 by Nobody (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Returns true if password is found in conf.json and is not empty (even if it is not a valid string), otherwise it returns false.


C# Syntax

bool NAPI.Server.IsPasswordProtected();

Example

bool isPasswordProtected = NAPI.Server.IsPasswordProtected();