Table of Contents

Class AccessCodeInfo

Namespace
VpnHood.AppLib.Abstractions.Accounts
Assembly
VpnHood.AppLib.Abstractions.dll

THE one access code serving an account, whichever channel delivered it. The backend ranks everything the account holds — what is being paid for right now first, then the best of the rest — and recomputes the winner on every read, so the app is told a code and never a list. Nothing is stored as the selection, so nothing needs repairing when a code dies.

public class AccessCodeInfo
Inheritance
AccessCodeInfo
Inherited Members

Properties

AccessCode

Gets or sets the premium code.

public required string AccessCode { get; set; }

Property Value

string

ExpirationTime

The code's own clock where the backend can read it, else null. ADVISORY DISPLAY ONLY: it never decides anything here, and nothing reports one back. Whether a code still works is the access server's verdict at connect time, and the account's own answer to that is eligible or rejected — one bit, with no dates in it.

public DateTime? ExpirationTime { get; set; }

Property Value

DateTime?