CoreGetEncodeSetting(String, String) Method

取得加密設定值

Definition

Namespace: eBizprise.Framework
Assembly: eBizprise.Framework.Core (in eBizprise.Framework.Core.dll) Version: 25.0.3.0+adf38c4ccb2bf98d8ad258a6278302b5e05a94ed
C#
public static string GetEncodeSetting(
	string configurationFileName,
	string settingName
)

Parameters

configurationFileName  String
設定檔名稱
settingName  String
設定名稱

Return Value

String
string

Remarks

讀取設定檔指定設定值
註:預設值為null

Example

C#
string authenticateType = Core.GetEncodeSetting("eBizprise.Framework.json", "AuthenticateType");

Revision History

DateVersionDescription
2020/02/241.0.0.2增加指定設定檔功能
2020/03/271.0.1.0增加支援預設值
2025/02/052.2.1.0增加支援環境
2025/05/272.2.3.0修正設定檔非預設時異常
2025/09/1925.0.0.0彙整2025年度初版

See Also