Click or drag to resize

AddressRange Constructor

Create a new AddressRange.

Namespace:  Koopman.CheckPoint
Assembly:  CheckPoint.NET (in CheckPoint.NET.dll) Version: 0.5.1
Syntax
C#
public AddressRange(
	Session session,
	bool setIfExists = false
)
Request Example View Source

Parameters

session
Type: Koopman.CheckPointSession
The current session.
setIfExists (Optional)
Type: SystemBoolean
if set to true if another object with the same name already exists, it will be updated. Pay attention that original object's fields will be overwritten by the fields provided in the request payload!.
Examples
var ar = new AddressRange(Session) {
Name = "MyAddressRange",
IPv4AddressFirst = IPAddress.Parse("10.1.1.1"),
IPv4AddressLast = IPAddress.Parse("10.1.1.10")
};
ar.AcceptChanges();
See Also