• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class IPFilterInfo

Represents information about an IP Filter.

Inheritance
System.Object
BaseEntityInfo
IPFilterInfo
Implements
IHydratable
Inherited Members
BaseEntityInfo.CreatedByUserID
BaseEntityInfo.CreatedOnDate
BaseEntityInfo.LastModifiedByUserID
BaseEntityInfo.LastModifiedOnDate
BaseEntityInfo.CreatedByUser(Int32)
BaseEntityInfo.LastModifiedByUser(Int32)
BaseEntityInfo.FillInternal(IDataReader)
BaseEntityInfo.CloneBaseProperties(BaseEntityInfo, BaseEntityInfo)
Namespace: DotNetNuke.Entities.Host
Assembly: DotNetNuke.dll
Syntax
public class IPFilterInfo : BaseEntityInfo, IHydratable

Constructors

| Improve this Doc View Source

IPFilterInfo()

Initializes a new instance of the IPFilterInfo class.

Declaration
public IPFilterInfo()
| Improve this Doc View Source

IPFilterInfo(String, String, Int32)

Initializes a new instance of the IPFilterInfo class. Create new IPFilterInfo instance.

Declaration
public IPFilterInfo(string ipAddress, string subnetMask, int ruleType)
Parameters
Type Name Description
System.String ipAddress

The IP Address.

System.String subnetMask

The Subnet Mask.

System.Int32 ruleType

The Rule Type, 1 to allow, 2 to deny.

Properties

| Improve this Doc View Source

IPAddress

Gets or sets the IP Adress for this filter.

Declaration
public string IPAddress { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

IPFilterID

Gets or sets the IP of the IP filter.

Declaration
public int IPFilterID { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

KeyID

Gets or sets the Key ID.

Declaration
public int KeyID { get; set; }
Property Value
Type Description
System.Int32

KeyId of the IHydratable.Key.

Remarks

Fill(IDataReader).

| Improve this Doc View Source

Notes

Gets or sets some notes about this IP filter.

Declaration
public string Notes { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

RuleType

Gets or sets the type of filter (1 to allow, 2 to deny).

Declaration
public int RuleType { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

SubnetMask

Gets or sets the subnet mask if this filter is for a range.

Declaration
public string SubnetMask { get; set; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

Fill(IDataReader)

Fills an IPFilterInfo from a Data Reader.

Declaration
public void Fill(IDataReader dr)
Parameters
Type Name Description
IDataReader dr

The Data Reader to use.

Remarks

Standard IHydratable.Fill implementation. KeyID

Implements

IHydratable

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS