Click or drag to resize

Network Class

Check Point Network Object
Inheritance Hierarchy
SystemObject
  Koopman.CheckPoint.CommonSimpleChangeTracking
    Koopman.CheckPoint.CommonChangeTracking
      Koopman.CheckPointObjectSummaryNetwork
        Koopman.CheckPoint.CommonObjectBaseNetwork
          Koopman.CheckPointNetwork

Namespace:  Koopman.CheckPoint
Assembly:  CheckPoint.NET (in CheckPoint.NET.dll) Version: 0.5.1
Syntax
C#
public class Network : ObjectBase<Network>, 
	IGroupMember, IObjectSummary
Request Example View Source

The Network type exposes the following members.

Constructors
  NameDescription
Public methodCode exampleNetwork
Create new Network.
Top
Properties
  NameDescription
Public propertyBroadcastInclusion
Gets or sets is broadcast address is included.
Public propertyColor
Color of the object
(Inherited from ObjectBaseT.)
Public propertyComments
Comments string
(Inherited from ObjectBaseT.)
Public propertyDetailLevel
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.)
Public propertyDomain
Information about the domain the object belongs to.
(Inherited from ObjectSummaryT.)
Public propertyGroups
Group memberships.
Public propertyIcon
Object icon
(Inherited from ObjectBaseT.)
Public propertyIsChanged
Gets the object's changed status. Includes checking status of all IChangeTracking properties.
(Inherited from ChangeTracking.)
Public propertyIsNew
Gets a value indicating whether this instance is new.
(Inherited from SimpleChangeTracking.)
Public propertyMaskLength4
Gets or sets the mask length for IPv4.
Public propertyMaskLength6
Gets or sets the mask length for IPv6.
Public propertyMetaInfo
Meta Information
(Inherited from ObjectBaseT.)
Public propertyName
Object name. Should be unique in the domain.
(Inherited from ObjectSummaryT.)
Public propertyNATSettings
Gets or sets the NAT settings.
Public propertyObjectType
The object type.
(Overrides ObjectSummaryTObjectType.)
Public propertyReadOnly
Indicates whether the object is read-only
(Inherited from ObjectBaseT.)
Public propertySubnet4
Gets or sets the IPv4 network address.
Public propertySubnet6
Gets or sets the IPv6 network address.
Public propertySubnetMask
Gets or sets the IPv4 subnet mask.
Public propertyTags
Tags assigned to object
(Inherited from ObjectBaseT.)
Public propertyType
Type of the object.
(Overrides ObjectSummaryTType.)
Public propertyUID
Object unique identifier.
(Inherited from ObjectSummaryT.)
Top
Methods
  NameDescription
Public methodAcceptChanges(CancellationToken)
Same as calling AcceptChanges(Ignore, CancellationToken) with a value of No;
(Inherited from ObjectSummaryT.)
Public methodAcceptChanges(Ignore, CancellationToken)
Posts all changes to Check Point server. If successful all object properties will be updated with results.
(Inherited from ObjectSummaryT.)
Public methodDelete
Deletes the current object.
(Inherited from ObjectSummaryT.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetIdentifier
Gets the identifier that is used when adding this object to a group.
(Inherited from ObjectSummaryT.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodReload
Reloads the current object. Used to either reset changes made without saving, or to increased the detailLevel to Full
(Inherited from ObjectSummaryT.)
Public methodToString
Returns a String that represents this object.
(Inherited from ObjectSummaryT.)
Top
Examples
Add new network using Network(Session, Boolean)
var n = new Network(Session) {
Name = "MyNetwork",
Subnet4 = IPAddress.Parse("10.0.0.0"),
MaskLength4 = 24
};
n.AcceptChanges();
Find network using FindNetwork(String, DetailLevels, CancellationToken)
var n = Session.FindHost("MyNetwork");
See Also