C# Class SiteMaster, FileZilla.NET

Inheritance: MasterPage
Exibir arquivo Open project: sancsoft/FileZilla.NET Class Usage Examples

Public Methods

Method Description
ForceAdministrator ( ) : void

Require administrator access

ForceAuthentication ( ) : void

Require that a user is logged in to access the page

ForceSSL ( ) : void

Verifies that we are connected on a secure connection using HTTPS

IsAuthenticated ( ) : bool

Verify that a user is logged in

Protected Methods

Method Description
Page_Init ( object sender, EventArgs e ) : void

Master initialization required before child page loads

Page_Load ( object sender, EventArgs e ) : void

Load the master page components - customization based on this instance

Method Details

ForceAdministrator() public method

Require administrator access
public ForceAdministrator ( ) : void
return void

ForceAuthentication() public method

Require that a user is logged in to access the page
public ForceAuthentication ( ) : void
return void

ForceSSL() public method

Verifies that we are connected on a secure connection using HTTPS
public ForceSSL ( ) : void
return void

IsAuthenticated() public method

Verify that a user is logged in
public IsAuthenticated ( ) : bool
return bool

Page_Init() protected method

Master initialization required before child page loads
protected Page_Init ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

Page_Load() protected method

Load the master page components - customization based on this instance
protected Page_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void