Class DeviceSession
The device session object
Inherited Members
Namespace: Dropbox.Api.Team
Assembly: Dropbox.Api.dll
Syntax
public class DeviceSession
Constructors
View SourceDeviceSession(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 SourceCountry
The country from which the last activity from this session was made.
Declaration
public string Country { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
Created
The time this session was created.
Declaration
public DateTime? Created { get; protected set; }
Property Value
| Type | Description |
|---|---|
| DateTime? |
IpAddress
The IP address of the last activity from this session.
Declaration
public string IpAddress { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
SessionId
The session id.
Declaration
public string SessionId { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
Updated
The time of the last activity from this session.
Declaration
public DateTime? Updated { get; protected set; }
Property Value
| Type | Description |
|---|---|
| DateTime? |