Network Class |
Namespace: Koopman.CheckPoint
public class Network : ObjectBase<Network>, IGroupMember, IObjectSummary
The Network type exposes the following members.
Name | Description | |
---|---|---|
BroadcastInclusion |
Gets or sets is broadcast address is included.
| |
Color |
Color of the object
(Inherited from ObjectBaseT.) | |
Comments |
Comments string
(Inherited from ObjectBaseT.) | |
DetailLevel |
Gets the current detail level of retrieved objects. You will not be able to get the
values of some properties if the detail level is too low. You can still set property
values however to override existing values.
(Inherited from ObjectSummaryT.) | |
Domain |
Information about the domain the object belongs to.
(Inherited from ObjectSummaryT.) | |
Groups |
Group memberships.
| |
Icon |
Object icon
(Inherited from ObjectBaseT.) | |
IsChanged |
Gets the object's changed status. Includes checking status of all IChangeTracking properties.
(Inherited from ChangeTracking.) | |
IsNew |
Gets a value indicating whether this instance is new.
(Inherited from SimpleChangeTracking.) | |
MaskLength4 |
Gets or sets the mask length for IPv4.
| |
MaskLength6 |
Gets or sets the mask length for IPv6.
| |
MetaInfo |
Meta Information
(Inherited from ObjectBaseT.) | |
Name |
Object name. Should be unique in the domain.
(Inherited from ObjectSummaryT.) | |
NATSettings |
Gets or sets the NAT settings.
| |
ObjectType |
The object type.
(Overrides ObjectSummaryTObjectType.) | |
ReadOnly |
Indicates whether the object is read-only
(Inherited from ObjectBaseT.) | |
Subnet4 |
Gets or sets the IPv4 network address.
| |
Subnet6 |
Gets or sets the IPv6 network address.
| |
SubnetMask |
Gets or sets the IPv4 subnet mask.
| |
Tags |
Tags assigned to object
(Inherited from ObjectBaseT.) | |
Type |
Type of the object.
(Overrides ObjectSummaryTType.) | |
UID |
Object unique identifier.
(Inherited from ObjectSummaryT.) |
Name | Description | |
---|---|---|
AcceptChanges(CancellationToken) |
Same as calling AcceptChanges(Ignore, CancellationToken)
with a value of No;
(Inherited from ObjectSummaryT.) | |
AcceptChanges(Ignore, CancellationToken) |
Posts all changes to Check Point server. If successful all object properties will be
updated with results.
(Inherited from ObjectSummaryT.) | |
Delete |
Deletes the current object.
(Inherited from ObjectSummaryT.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetIdentifier |
Gets the identifier that is used when adding this object to a group.
(Inherited from ObjectSummaryT.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Reload |
Reloads the current object. Used to either reset changes made without saving, or to
increased the detailLevel to Full (Inherited from ObjectSummaryT.) | |
ToString |
Returns a String that represents this object.
(Inherited from ObjectSummaryT.) |
var n = new Network(Session) { Name = "MyNetwork", Subnet4 = IPAddress.Parse("10.0.0.0"), MaskLength4 = 24 }; n.AcceptChanges();
var n = Session.FindHost("MyNetwork");