Skip to content

SessionID ​

Represents a game session identifier backed by a globally unique, lexicographically sortable ULID.

Kind: Struct

Namespace: CrowdControl.Common

Public Constructors

SessionID()

Creates a new session identifier.

SessionID(Guid value)

Creates a new session identifier.

SessionID(Ulid value)

Creates a new session identifier.

SessionID(string value)

Creates a new session identifier.

Public Member Functions

virtual override

string

ToString()

Returns the prefixed, lowercase string representation of this session identifier.

Public Attributes

SessionID

Empty

A read-only instance of the SessionID structure whose value is all zeros.

Properties

static

SessionID

AllBitsSet

[get, ]

Gets a read-only instance of the SessionID structure whose value has all bits set.

Guid

Guid

[get, ]

Gets the GUID representation of this session identifier.

Ulid

Ulid

[get, ]

Gets the ULID representation of this session identifier.

string

String

[get, ]

Gets the prefixed, lowercase string representation of this session identifier.