Class IPCount
Inheritance
System.Object
IPCount
Assembly: DotNetNuke.dll
Syntax
public class IPCount : object
Properties
|
Improve this Doc
View Source
CachePath
Declaration
public static string CachePath { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
MaxCount
Declaration
public static int MaxCount { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
PurgeInterval
Declaration
public static TimeSpan PurgeInterval { get; set; }
Property Value
Type |
Description |
TimeSpan |
|
Methods
|
Improve this Doc
View Source
CheckIp(String)
Declaration
public static bool CheckIp(string ipAddress)
Parameters
Type |
Name |
Description |
System.String |
ipAddress |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
GetVisitorIPAddress(HttpContextBase)
method to get Client ip address.
Declaration
public static string GetVisitorIPAddress(HttpContextBase context)
Parameters
Type |
Name |
Description |
HttpContextBase |
context |
|
Returns
Type |
Description |
System.String |
IP Address of visitor.
|
Extension Methods