Table of Contents

Enum SessionRole

Namespace
Pamoja.Session
Assembly
Pamoja.Session.dll

Which side of a session a device is on.

public enum SessionRole

Fields

Initiator = 0

The device that opens the session.

Responder = 1

The device that answers.

Remarks

The two devices must choose opposite roles: the role decides the order the public keys are mixed in and which direction each side tags its messages with, so a session where both sides claim the same role opens nothing.