IsPasswordProtected: Difference between revisions
(Created page with "Always returns false (maybe a method for later?). {{CSharpContainer| {{#tag:pre|bool {{Template:CSharp_Serverside_namespace}}Server.IsPasswordProtected();}} {{Example}} {{#ta...") |
mNo edit summary |
||
| Line 1: | Line 1: | ||
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'''. | |||
{{CSharpContainer| | {{CSharpContainer| | ||
Latest revision as of 06:29, 14 July 2020
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();