Dropbox .NET SDK

Class DeviceSessionLogInfo

Device's session logged information.

Inheritance
object
DeviceSessionLogInfo
DesktopDeviceSessionLogInfo
LegacyDeviceSessionLogInfo
MobileDeviceSessionLogInfo
WebDeviceSessionLogInfo
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Dropbox.Api.TeamLog
Assembly: Dropbox.Api.dll
Syntax
public class DeviceSessionLogInfo

Constructors

View Source

DeviceSessionLogInfo(string, DateTime?, 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
string ipAddress

The IP address of the last activity from this session.

DateTime? created

The time this session was created.

DateTime? updated

The time of the last activity from this session.

Properties

View Source

AsDesktopDeviceSession

Gets this instance as a DesktopDeviceSessionLogInfo, or null.

Declaration
public DesktopDeviceSessionLogInfo AsDesktopDeviceSession { get; }
Property Value
Type Description
DesktopDeviceSessionLogInfo
View Source

AsLegacyDeviceSession

Gets this instance as a LegacyDeviceSessionLogInfo, or null.

Declaration
public LegacyDeviceSessionLogInfo AsLegacyDeviceSession { get; }
Property Value
Type Description
LegacyDeviceSessionLogInfo
View Source

AsMobileDeviceSession

Gets this instance as a MobileDeviceSessionLogInfo, or null.

Declaration
public MobileDeviceSessionLogInfo AsMobileDeviceSession { get; }
Property Value
Type Description
MobileDeviceSessionLogInfo
View Source

AsWebDeviceSession

Gets this instance as a WebDeviceSessionLogInfo, or null.

Declaration
public WebDeviceSessionLogInfo AsWebDeviceSession { get; }
Property Value
Type Description
WebDeviceSessionLogInfo
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

IsDesktopDeviceSession

Gets a value indicating whether this instance is DesktopDeviceSession

Declaration
public bool IsDesktopDeviceSession { get; }
Property Value
Type Description
bool
View Source

IsLegacyDeviceSession

Gets a value indicating whether this instance is LegacyDeviceSession

Declaration
public bool IsLegacyDeviceSession { get; }
Property Value
Type Description
bool
View Source

IsMobileDeviceSession

Gets a value indicating whether this instance is MobileDeviceSession

Declaration
public bool IsMobileDeviceSession { get; }
Property Value
Type Description
bool
View Source

IsWebDeviceSession

Gets a value indicating whether this instance is WebDeviceSession

Declaration
public bool IsWebDeviceSession { get; }
Property Value
Type Description
bool
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

DesktopDeviceSessionLogInfo
DeviceChangeIpDesktopDetails
LegacyDeviceSessionLogInfo
MobileDeviceSessionLogInfo
WebDeviceSessionLogInfo
  • View Source
In this article
Back to top Dropbox .NET SDK