Creates the FIX Session.

Namespace: FIXForge.NET.FIX
Assembly: FIXForge.NET.FIX.Engine-net-3.5 (in FIXForge.NET.FIX.Engine-net-3.5.dll) Version: 2.79.1.0

Syntax

C#
public Session(
	string senderCompID,
	string targetCompID,
	ProtocolVersion version,
	string customSessionKey
)
Visual Basic
Public Sub New ( _
	senderCompID As String, _
	targetCompID As String, _
	version As ProtocolVersion, _
	customSessionKey As String _
)
Visual C++
public:
Session(
	String^ senderCompID, 
	String^ targetCompID, 
	ProtocolVersion version, 
	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.
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