C# Класс SiteMaster, FileZilla.NET

Наследование: MasterPage
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
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

Описание методов

ForceAdministrator() публичный Метод

Require administrator access
public ForceAdministrator ( ) : void
Результат void

ForceAuthentication() публичный Метод

Require that a user is logged in to access the page
public ForceAuthentication ( ) : void
Результат void

ForceSSL() публичный Метод

Verifies that we are connected on a secure connection using HTTPS
public ForceSSL ( ) : void
Результат void

IsAuthenticated() публичный Метод

Verify that a user is logged in
public IsAuthenticated ( ) : bool
Результат bool

Page_Init() защищенный Метод

Master initialization required before child page loads
protected Page_Init ( object sender, EventArgs e ) : void
sender object
e EventArgs
Результат void

Page_Load() защищенный Метод

Load the master page components - customization based on this instance
protected Page_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
Результат void