Table of Contents

Class AccessTokenUsage

Namespace
VpnHood.Core.Server.Access.Managers.FileAccessManagers.Dtos
Assembly
VpnHood.Core.Server.Access.Managers.FileAccessManagers.dll

Represents an access key's usage, as the file access manager keeps it.

public class AccessTokenUsage
Inheritance
AccessTokenUsage
Inherited Members

Properties

CreatedTime

Gets or sets when the usage began, in UTC. The default is the time it is made.

public DateTime CreatedTime { get; set; }

Property Value

DateTime

LastUsedTime

Gets or sets when the access key's usage was last recorded, in UTC, one of no bytes too. The default is the time it is made.

public DateTime LastUsedTime { get; set; }

Property Value

DateTime

Received

Gets or sets the bytes the access key's sessions received.

public long Received { get; set; }

Property Value

long

Sent

Gets or sets the bytes the access key's sessions sent.

public long Sent { get; set; }

Property Value

long

Version

Gets or sets the record's format version: 2 now, as a record below it took its times from its file.

public int Version { get; set; }

Property Value

int