Table of Contents

Class AccessInfo

Namespace
VpnHood.AppLib.Api.Sessions
Assembly
VpnHood.AppLib.Api.dll

Represents an access's terms and state, as its issuer reports them.

public class AccessInfo
Inheritance
AccessInfo
Inherited Members

Properties

CreatedTime

Gets when the access was made, in UTC.

public DateTime CreatedTime { get; init; }

Property Value

DateTime

DeviceLifeSpan

Gets, in days, how long the access manager keeps a device's record after its last use, as it reports it.

public int DeviceLifeSpan { get; init; }

Property Value

int

DevicesSummary

Gets the devices that used the access, or null.

public AccessDevicesSummary? DevicesSummary { get; init; }

Property Value

AccessDevicesSummary

ExpirationTime

Gets when the access expires, in UTC, not a session's, or null for never.

public DateTime? ExpirationTime { get; init; }

Property Value

DateTime?

IsNew

Gets a value indicating whether the access manager reports the access as new; the file access manager always reports false.

public bool IsNew { get; init; }

Property Value

bool

IsPremium

Gets a value indicating whether the access is premium.

public bool IsPremium { get; init; }

Property Value

bool

LastUsedTime

Gets when the access was last used, in UTC.

public DateTime LastUsedTime { get; init; }

Property Value

DateTime

MaxCycleTraffic

Gets or sets the bytes the access may move in a cycle; 0 where the access manager reports no limit.

public long MaxCycleTraffic { get; set; }

Property Value

long

MaxDeviceCount

Gets the number of devices that may use the access, 0 for no limit.

public int MaxDeviceCount { get; init; }

Property Value

int

MaxSpeedMbps

Gets the speed limits each way, in megabits a second, or null.

public Traffic? MaxSpeedMbps { get; init; }

Property Value

Traffic?

MaxTotalTraffic

Gets or sets the bytes the access may move in all; 0 where the access manager reports no limit.

public long MaxTotalTraffic { get; set; }

Property Value

long