This commit is contained in:
Nattiden
2025-08-08 14:55:38 +08:00
parent 8e0f53c881
commit d133138984
2 changed files with 14 additions and 0 deletions
@@ -357,6 +357,13 @@
Return Not HasIniKey(Version.Path & "PCL\Setup.ini", Key)
End Select
End Function
''' <summary>
''' 某个设置项是否加密。
''' </summary>
Public Function IsEncoded(Key As String) As Boolean
If Not SetupDict.ContainsKey(Key) Then Throw New KeyNotFoundException("未找到设置项:" & Key) With {.Source = Key}
Return SetupDict(Key).Encoded
End Function
''' <summary>
''' 读取设置。