Class ActiveWebSession
Information on active web sessions.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Dropbox.Api.Team
Assembly: Dropbox.Api.dll
Syntax
public class ActiveWebSession : DeviceSession
Constructors
| Improve this Doc View SourceActiveWebSession(String, String, String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<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 |
---|---|---|
System.String | sessionId | The session id. |
System.String | userAgent | Information on the hosting device. |
System.String | os | Information on the hosting operating system. |
System.String | browser | Information on the browser used for this web session. |
System.String | ipAddress | The IP address of the last activity from this session. |
System.String | country | The country from which the last activity from this session was made. |
System.Nullable<System.DateTime> | created | The time this session was created. |
System.Nullable<System.DateTime> | updated | The time of the last activity from this session. |
System.Nullable<System.DateTime> | expires | The time this session expires. |
Properties
| Improve this Doc View SourceBrowser
Information on the browser used for this web session.
Declaration
public string Browser { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
Expires
The time this session expires.
Declaration
public DateTime? Expires { get; protected set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
Os
Information on the hosting operating system.
Declaration
public string Os { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
UserAgent
Information on the hosting device.
Declaration
public string UserAgent { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |