C# Class Common.HttpModules.IpBlockModule

Inheritance: IHttpModule
Afficher le fichier Open project: rabbal/Mvc5

Méthodes publiques

Méthode Description
GetBlockedIPs ( HttpContext context ) : StringDictionary
GetBlockedIPs ( string configPath ) : StringDictionary
GetBlockedIPsFilePathFromCurrentContext ( HttpContext context ) : string
IpBlockModule ( ) : System

Private Methods

Méthode Description
HandleBeginRequest ( object sender, EventArgs evargs ) : void
IHttpModule ( ) : void
IHttpModule ( System.Web.HttpApplication context ) : void

Method Details

GetBlockedIPs() public static méthode

public static GetBlockedIPs ( HttpContext context ) : StringDictionary
context System.Web.HttpContext
Résultat System.Collections.Specialized.StringDictionary

GetBlockedIPs() public static méthode

public static GetBlockedIPs ( string configPath ) : StringDictionary
configPath string
Résultat System.Collections.Specialized.StringDictionary

GetBlockedIPsFilePathFromCurrentContext() public static méthode

public static GetBlockedIPsFilePathFromCurrentContext ( HttpContext context ) : string
context System.Web.HttpContext
Résultat string

IpBlockModule() public méthode

public IpBlockModule ( ) : System
Résultat System