C# Class SiteMaster, FileZilla.NET

Inheritance: MasterPage
Afficher le fichier Open project: sancsoft/FileZilla.NET Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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 méthode

Require administrator access
public ForceAdministrator ( ) : void
Résultat void

ForceAuthentication() public méthode

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

ForceSSL() public méthode

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

IsAuthenticated() public méthode

Verify that a user is logged in
public IsAuthenticated ( ) : bool
Résultat bool

Page_Init() protected méthode

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

Page_Load() protected méthode

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