MachineKeyValidationConverter Class

Definition

Provides methods for converting MachineKeyValidation objects to and from strings.

public sealed class MachineKeyValidationConverter : System.Configuration.ConfigurationConverterBase
Inheritance
MachineKeyValidationConverter

Inherited Members

System.ComponentModel.TypeConverter

System.Configuration.ConfigurationConverterBase

System.Object

Remarks

Note

The HostProtectionAttribute attribute applied to this class has the following Resources property value: MayLeakOnAbort. The HostProtectionAttribute does not affect desktop applications (which are typically started by double-clicking an icon, typing a command, or entering a URL in a browser). For more information, see the HostProtectionAttribute class or SQL Server Programming and Host Protection Attributes.

Constructors

MachineKeyValidationConverter()

Initializes a new instance of the MachineKeyValidationConverter class.

Methods

ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)

Converts a string to the equivalent MachineKeyValidation value.

ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)

Converts a MachineKeyValidation value to the string representation of that value.