Langue

IRemoteWebConfigurationHostServer.DoEncryptOrDecrypt Méthode

Définition

Chiffre ou déchiffre de manière conditionnelle la valeur de la chaîne référencée par le xmlString paramètre.

Cette API prend en charge l’infrastructure du produit et n’est pas destinée à être utilisée directement à partir de votre code.

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

Paramètres

doEncrypt
Boolean

true pour chiffrer ; false pour déchiffrer.

xmlString
String

Xml à chiffrer ou déchiffrer.

protectionProviderName
String

Fournisseur utilisé pour protéger les données de configuration.

protectionProviderType
String

Fournisseur Type de protection.

parameterKeys
String[]

Clés des paramètres facultatifs pour le fournisseur de protection.

parameterValues
String[]

Valeurs des paramètres facultatifs pour le fournisseur de protection.

Retours

Chaîne contenant la valeur chiffrée ou déchiffrée du xmlString.

S’applique à