Decode the password (Asp.net password decode mechanism).

Namespace: MonoSoftware.Web
Assembly: MonoSoftware.Web (in MonoSoftware.Web.dll) Version: 1.0.40.661 (1.0.40.661)

Syntax

C#
public static string DecodePassword(
	this MembershipProvider provider,
	MembershipPasswordFormat passwordFormat,
	string password
)
Visual Basic
<ExtensionAttribute> 
Public Shared Function DecodePassword ( 
	provider As MembershipProvider,
	passwordFormat As MembershipPasswordFormat,
	password As String
) As String
Visual C++
public:
[ExtensionAttribute]
static String^ DecodePassword(
	MembershipProvider^ provider, 
	MembershipPasswordFormat passwordFormat, 
	String^ password
)
F#
static member DecodePassword : 
        provider : MembershipProvider * 
        passwordFormat : MembershipPasswordFormat * 
        password : string -> string 

Parameters

provider
Type: System.Web.Security..::..MembershipProvider
Membership provider
passwordFormat
Type: System.Web.Security..::..MembershipPasswordFormat
Password format.
password
Type: System..::..String
Encoded password

Return Value

Type: String
Decoded password

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type MembershipProvider. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also