Class ActiveWebSession
Information on active web sessions.
Inherited Members
Namespace: Dropbox.Api.Team
Assembly: Dropbox.Api.dll
Syntax
public class ActiveWebSession : DeviceSession
Constructors
View SourceActiveWebSession(string, string, string, string, string, string, DateTime?, DateTime?, DateTime?)
Initializes a new instance of the ActiveWebSession class.
Declaration
public ActiveWebSession(string sessionId, string userAgent, string os, string browser, string ipAddress = null, string country = null, DateTime? created = null, DateTime? updated = null, DateTime? expires = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | sessionId | The session id. |
| string | userAgent | Information on the hosting device. |
| string | os | Information on the hosting operating system. |
| string | browser | Information on the browser used for this web session. |
| string | ipAddress | The IP address of the last activity from this session. |
| string | country | The country from which the last activity from this session was made. |
| DateTime? | created | The time this session was created. |
| DateTime? | updated | The time of the last activity from this session. |
| DateTime? | expires | The time this session expires. |
Properties
View SourceBrowser
Information on the browser used for this web session.
Declaration
public string Browser { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
Expires
The time this session expires.
Declaration
public DateTime? Expires { get; protected set; }
Property Value
| Type | Description |
|---|---|
| DateTime? |
Os
Information on the hosting operating system.
Declaration
public string Os { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
UserAgent
Information on the hosting device.
Declaration
public string UserAgent { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |