C# Class WindowsDefender_WebApp.User

Show file Open project: Good4m/WindowsDefender Class Usage Examples

Public Methods

Method 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

Method Description
GetIpAddress ( HubCallerContext context ) : string

Method Details

IncrementTimeout() public method

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

IsConnectionExpired() public method

Checks if the connection has currently expired.
public IsConnectionExpired ( ) : bool
return bool

ResetTimeout() public method

Resets the timer count to 0.
public ResetTimeout ( ) : void
return void

User() public method

public User ( HubCallerContext context ) : System
context HubCallerContext
return System