Class DeviceSession
The device session object
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 SourceDeviceSession(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 SourceCountry
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 |
Created
The time this session was created.
Declaration
public DateTime? Created { get; protected set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
IpAddress
The IP address of the last activity from this session.
Declaration
public string IpAddress { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
SessionId
The session id.
Declaration
public string SessionId { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
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> |