語言

IRemoteWebConfigurationHostServer.DoEncryptOrDecrypt 方法

定義

條件式地加密或解密參數所參考 xmlString 字串的值。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public:
 System::String ^ DoEncryptOrDecrypt(bool doEncrypt, System::String ^ xmlString, System::String ^ protectionProviderName, System::String ^ protectionProviderType, cli::array <System::String ^> ^ parameterKeys, cli::array <System::String ^> ^ parameterValues);
public string DoEncryptOrDecrypt(bool doEncrypt, string xmlString, string protectionProviderName, string protectionProviderType, string[] parameterKeys, string[] parameterValues);
abstract member DoEncryptOrDecrypt : bool * string * string * string * string[] * string[] -> string
Public Function DoEncryptOrDecrypt (doEncrypt As Boolean, xmlString As String, protectionProviderName As String, protectionProviderType As String, parameterKeys As String(), parameterValues As String()) As String

參數

doEncrypt
Boolean

true 加密; false 解密。

xmlString
String

XML 要加密或解密。

protectionProviderName
String

供應商用來保護設定資料。

protectionProviderType
String

保障提供者的相關 Type 規定。

parameterKeys
String[]

保護提供者的可選參數鑰匙。

parameterValues
String[]

保護提供者的可選參數值。

傳回

包含加密或解密值的 xmlString字串。

適用於