Class DeviceSessionLogInfo
Device's session logged information.
Inheritance
Inherited Members
Namespace: Dropbox.Api.TeamLog
Assembly: Dropbox.Api.dll
Syntax
public class DeviceSessionLogInfo
Constructors
| Improve this Doc View SourceDeviceSessionLogInfo(String, Nullable<DateTime>, Nullable<DateTime>)
Initializes a new instance of the DeviceSessionLogInfo class.
Declaration
protected DeviceSessionLogInfo(string ipAddress = null, DateTime? created = null, DateTime? updated = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | ipAddress | The IP address of the last activity from this session. |
| 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 SourceAsDesktopDeviceSession
Gets this instance as a DesktopDeviceSessionLogInfo, or
null.
Declaration
public DesktopDeviceSessionLogInfo AsDesktopDeviceSession { get; }
Property Value
| Type | Description |
|---|---|
| DesktopDeviceSessionLogInfo |
AsLegacyDeviceSession
Gets this instance as a LegacyDeviceSessionLogInfo, or
null.
Declaration
public LegacyDeviceSessionLogInfo AsLegacyDeviceSession { get; }
Property Value
| Type | Description |
|---|---|
| LegacyDeviceSessionLogInfo |
AsMobileDeviceSession
Gets this instance as a MobileDeviceSessionLogInfo, or
null.
Declaration
public MobileDeviceSessionLogInfo AsMobileDeviceSession { get; }
Property Value
| Type | Description |
|---|---|
| MobileDeviceSessionLogInfo |
AsWebDeviceSession
Gets this instance as a WebDeviceSessionLogInfo, or
null.
Declaration
public WebDeviceSessionLogInfo AsWebDeviceSession { get; }
Property Value
| Type | Description |
|---|---|
| WebDeviceSessionLogInfo |
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 |
IsDesktopDeviceSession
Gets a value indicating whether this instance is DesktopDeviceSession
Declaration
public bool IsDesktopDeviceSession { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
IsLegacyDeviceSession
Gets a value indicating whether this instance is LegacyDeviceSession
Declaration
public bool IsLegacyDeviceSession { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
IsMobileDeviceSession
Gets a value indicating whether this instance is MobileDeviceSession
Declaration
public bool IsMobileDeviceSession { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
IsWebDeviceSession
Gets a value indicating whether this instance is WebDeviceSession
Declaration
public bool IsWebDeviceSession { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
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> |