forwardSession Constructor (String, String, ProtocolVersion, Boolean, ISessionStorage, String)   Table of ContentSession Propertiesforward
Session Constructor (String, String, ProtocolVersion, Boolean, SessionStorageType, String)
Creates the FIX Session.

Namespace:  FIXForge.NET.FIX
Assembly:  FIXForge.NET.FIX.Engine-net-4.6.2_x64 (in FIXForge.NET.FIX.Engine-net-4.6.2_x64.dll) Version: 4.0.0.0
Syntax
C#
public Session(
	string senderCompID,
	string targetCompID,
	ProtocolVersion version,
	bool keepSequenceNumbersBetweenFixConnections,
	SessionStorageType storageType,
	string customSessionKey
)

Parameters

senderCompID
Type: System.String
Assigned value used to identify firm sending message (SenderCompID, tag=49 field value in outgoing messages).
targetCompID
Type: System.String
Assigned value used to identify receiving firm (TargetCompID, tag=56 field value in outgoing messages).
version
Type: FIXForge.NET.FIX.ProtocolVersion
FIX Version.
keepSequenceNumbersBetweenFixConnections
Type: System.Boolean
Option to keep sequence numbers after the exchange of Logout (MsgType=5) messages.
storageType
Type: FIXForge.NET.FIX.SessionStorageType
Session's storage type.
customSessionKey
Type: System.String
Custom key that can be used to distinguish sessions with the same values of the SenderCompID, TargetCompID and the FIX Protocol version.
See Also