Export (0) Print
Expand All

IRemoteWebConfigurationHostServer.DoEncryptOrDecrypt Method

This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Conditionally encrypts or decrypts the value of the string referenced by the xmlString parameter.

Namespace: System.Web.Configuration
Assembly: System.Web (in system.web.dll)

string DoEncryptOrDecrypt (
	bool doEncrypt,
	string xmlString,
	string protectionProviderName,
	string protectionProviderType,
	string[] parameterKeys,
	string[] parameterValues
)
String DoEncryptOrDecrypt (
	boolean doEncrypt, 
	String xmlString, 
	String protectionProviderName, 
	String protectionProviderType, 
	String[] parameterKeys, 
	String[] parameterValues
)
function DoEncryptOrDecrypt (
	doEncrypt : boolean, 
	xmlString : String, 
	protectionProviderName : String, 
	protectionProviderType : String, 
	parameterKeys : String[], 
	parameterValues : String[]
) : String
Not applicable.

Parameters

doEncrypt

True to encrypt; false to decrypt.

xmlString

The XML to be encrypted or decrypted.

protectionProviderName

The provider used to protect the configuration data.

protectionProviderType

The Type of the protection provider.

parameterKeys

The keys of optional parameters for the protection provider.

parameterValues

The values of optional parameters for the protection provider.

Return Value

A string containing either the encrypted or decrypted value of the xmlString.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft