Show / Hide Table of Contents

Class DeviceSession

The device session object

Inheritance
System.Object
DeviceSession
ActiveWebSession
DesktopClientSession
MobileClientSession
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 DeviceSession

Constructors

| Improve this Doc View Source

DeviceSession(String, String, String, Nullable<DateTime>, Nullable<DateTime>)

Initializes a new instance of the DeviceSession class.

Declaration
public DeviceSession(string sessionId, string ipAddress = null, string country = null, DateTime? created = null, DateTime? updated = null)
Parameters
Type Name Description
System.String sessionId

The session id.

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.

Properties

| Improve this Doc View Source

Country

The country from which the last activity from this session was made.

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

Created

The time this session was created.

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

IpAddress

The IP address of the last activity from this session.

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

SessionId

The session id.

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

Updated

The time of the last activity from this session.

Declaration
public DateTime? Updated { get; protected set; }
Property Value
Type Description
System.Nullable<System.DateTime>

See Also

ActiveWebSession
DesktopClientSession
MobileClientSession
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • DeviceSession(String, String, String, Nullable<DateTime>, Nullable<DateTime>)
  • Properties
    • Country
    • Created
    • IpAddress
    • SessionId
    • Updated
  • See Also
Back to top Generated by DocFX