C# Class WindowsDefender_WebApp.User

Afficher le fichier Open project: Good4m/WindowsDefender Class Usage Examples

Méthodes publiques

Méthode Description
IncrementTimeout ( ) : void

Increments the timeout. Uses a monitor lock to control access of the counter.

IsConnectionExpired ( ) : bool

Checks if the connection has currently expired.

ResetTimeout ( ) : void

Resets the timer count to 0.

User ( HubCallerContext context ) : System

Private Methods

Méthode Description
GetIpAddress ( HubCallerContext context ) : string

Method Details

IncrementTimeout() public méthode

Increments the timeout. Uses a monitor lock to control access of the counter.
public IncrementTimeout ( ) : void
Résultat void

IsConnectionExpired() public méthode

Checks if the connection has currently expired.
public IsConnectionExpired ( ) : bool
Résultat bool

ResetTimeout() public méthode

Resets the timer count to 0.
public ResetTimeout ( ) : void
Résultat void

User() public méthode

public User ( HubCallerContext context ) : System
context HubCallerContext
Résultat System