forwardSession Constructor (String, String, Dialect, Boolean, SessionStorageType)   Table of ContentSession Constructor (String, String, ProtocolVersion, Boolean, ISessionStorage)forward
Session Constructor (String, String, Dialect, Boolean, 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,
	Dialect dialect,
	bool keepSequenceNumbersBetweenFixConnections,
	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).
dialect
Type: FIXForge.NET.FIX.Dialect
FIX dialect to be used by the session.
keepSequenceNumbersBetweenFixConnections
Type: System.Boolean
Option to keep sequence numbers after the exchange of Logout (MsgType=5) messages.
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