PreAuthGuard

StockSharp.Server.Core

Identifies unauthenticated sessions that exceed the connection deadline.

Методы

IsPreAuthExpired
public static bool IsPreAuthExpired(bool isAuthenticated, DateTime creationTime, DateTime now, TimeSpan timeout)
result = PreAuthGuard.IsPreAuthExpired(isAuthenticated, creationTime, now, timeout)

Determines whether an unauthenticated session exceeded its connection-time deadline. A non-positive disables the check.