add:安全中心

This commit is contained in:
2026-02-16 20:22:41 +08:00
parent 2f8c368eef
commit 45dc3cb537
18 changed files with 1167 additions and 49 deletions
+20
View File
@@ -31,6 +31,26 @@ namespace Ink_Canvas
public CameraSettings Camera { get; set; } = new CameraSettings();
[JsonProperty("dlass")]
public DlassSettings Dlass { get; set; } = new DlassSettings();
[JsonProperty("security")]
public Security Security { get; set; } = new Security();
}
public class Security
{
[JsonProperty("passwordEnabled")]
public bool PasswordEnabled { get; set; } = false;
[JsonProperty("passwordSalt")]
public string PasswordSalt { get; set; } = "";
[JsonProperty("passwordHash")]
public string PasswordHash { get; set; } = "";
[JsonProperty("requirePasswordOnExit")]
public bool RequirePasswordOnExit { get; set; } = false;
[JsonProperty("requirePasswordOnEnterSettings")]
public bool RequirePasswordOnEnterSettings { get; set; } = false;
[JsonProperty("requirePasswordOnResetConfig")]
public bool RequirePasswordOnResetConfig { get; set; } = false;
[JsonProperty("enableProcessProtection")]
public bool EnableProcessProtection { get; set; } = true;
}
public class Canvas