C# Class _7_CryptoStorage.Account.RegisterCustom

Show file Open project: candanbolukbas/Secure-Programming-Samples

Protected Properties

Property Type Description
ConfirmPassword global::System.Web.UI.WebControls.TextBox
ConfirmPasswordLabel global::System.Web.UI.WebControls.Label
ConfirmPasswordRequired global::System.Web.UI.WebControls.RequiredFieldValidator
CreateUserButton global::System.Web.UI.WebControls.Button
ErrorMessage global::System.Web.UI.WebControls.Literal
Password global::System.Web.UI.WebControls.TextBox
PasswordCompare global::System.Web.UI.WebControls.CompareValidator
PasswordLabel global::System.Web.UI.WebControls.Label
PasswordRequired global::System.Web.UI.WebControls.RequiredFieldValidator
RegisterUserValidationSummary global::System.Web.UI.WebControls.ValidationSummary
UserName global::System.Web.UI.WebControls.TextBox
UserNameLabel global::System.Web.UI.WebControls.Label
UserNameRequired global::System.Web.UI.WebControls.RequiredFieldValidator

Protected Methods

Method Description
CreateUserButton_Click ( object sender, EventArgs e ) : void
Page_Load ( object sender, EventArgs e ) : void

Private Methods

Method Description
CreateUser ( string userName, string passwordHash ) : void
GetMd5Hash ( string input ) : string

Method Details

CreateUserButton_Click() protected method

protected CreateUserButton_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

Page_Load() protected method

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

Property Details

ConfirmPassword protected property

ConfirmPassword control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox ConfirmPassword
return global::System.Web.UI.WebControls.TextBox

ConfirmPasswordLabel protected property

ConfirmPasswordLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label ConfirmPasswordLabel
return global::System.Web.UI.WebControls.Label

ConfirmPasswordRequired protected property

ConfirmPasswordRequired control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RequiredFieldValidator ConfirmPasswordRequired
return global::System.Web.UI.WebControls.RequiredFieldValidator

CreateUserButton protected property

CreateUserButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button CreateUserButton
return global::System.Web.UI.WebControls.Button

ErrorMessage protected property

ErrorMessage control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal ErrorMessage
return global::System.Web.UI.WebControls.Literal

Password protected property

Password control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox Password
return global::System.Web.UI.WebControls.TextBox

PasswordCompare protected property

PasswordCompare control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.CompareValidator PasswordCompare
return global::System.Web.UI.WebControls.CompareValidator

PasswordLabel protected property

PasswordLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label PasswordLabel
return global::System.Web.UI.WebControls.Label

PasswordRequired protected property

PasswordRequired control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RequiredFieldValidator PasswordRequired
return global::System.Web.UI.WebControls.RequiredFieldValidator

RegisterUserValidationSummary protected property

RegisterUserValidationSummary control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.ValidationSummary RegisterUserValidationSummary
return global::System.Web.UI.WebControls.ValidationSummary

UserName protected property

UserName control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox UserName
return global::System.Web.UI.WebControls.TextBox

UserNameLabel protected property

UserNameLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label UserNameLabel
return global::System.Web.UI.WebControls.Label

UserNameRequired protected property

UserNameRequired control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RequiredFieldValidator UserNameRequired
return global::System.Web.UI.WebControls.RequiredFieldValidator