Class IPFilterInfo
Represents information about an IP Filter.
Implements
Inherited Members
Namespace: DotNetNuke.Entities.Host
Assembly: DotNetNuke.dll
Syntax
public class IPFilterInfo : BaseEntityInfo, IHydratable
Constructors
| Improve this Doc View SourceIPFilterInfo()
Initializes a new instance of the IPFilterInfo class.
Declaration
public IPFilterInfo()
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 SourceIPAddress
Gets or sets the IP Adress for this filter.
Declaration
public string IPAddress { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IPFilterID
Gets or sets the IP of the IP filter.
Declaration
public int IPFilterID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
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
| Improve this Doc View SourceNotes
Gets or sets some notes about this IP filter.
Declaration
public string Notes { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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 |
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 SourceFill(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