Show / Hide Table of Contents

Class ActiveWebSession

Information on active web sessions.

Inheritance
System.Object
DeviceSession
ActiveWebSession
Inherited Members
DeviceSession.SessionId
DeviceSession.IpAddress
DeviceSession.Country
DeviceSession.Created
DeviceSession.Updated
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 Source

ActiveWebSession(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 Source

Browser

Information on the browser used for this web session.

Declaration
public string Browser { get; protected set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Expires

The time this session expires.

Declaration
public DateTime? Expires { get; protected set; }
Property Value
Type Description
System.Nullable<System.DateTime>
| Improve this Doc View Source

Os

Information on the hosting operating system.

Declaration
public string Os { get; protected set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

UserAgent

Information on the hosting device.

Declaration
public string UserAgent { get; protected set; }
Property Value
Type Description
System.String
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • ActiveWebSession(String, String, String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>)
  • Properties
    • Browser
    • Expires
    • Os
    • UserAgent
Back to top Generated by DocFX