Dropbox .NET SDK
Show / Hide Table of Contents

Class DeviceSession

The device session object

Inheritance
object
DeviceSession
ActiveWebSession
DesktopClientSession
MobileClientSession
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Dropbox.Api.Team
Assembly: Dropbox.Api.dll
Syntax
public class DeviceSession

Constructors

View Source

DeviceSession(string, string, string, DateTime?, 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
string sessionId

The session id.

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.

Properties

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
string
View Source

Created

The time this session was created.

Declaration
public DateTime? Created { get; protected set; }
Property Value
Type Description
DateTime?
View Source

IpAddress

The IP address of the last activity from this session.

Declaration
public string IpAddress { get; protected set; }
Property Value
Type Description
string
View Source

SessionId

The session id.

Declaration
public string SessionId { get; protected set; }
Property Value
Type Description
string
View Source

Updated

The time of the last activity from this session.

Declaration
public DateTime? Updated { get; protected set; }
Property Value
Type Description
DateTime?

See Also

ActiveWebSession
DesktopClientSession
MobileClientSession
  • View Source
In this article
Back to top Dropbox .NET SDK