Table of Contents

Class AccessCodeInfo

Namespace
VpnHood.AppLib.Api.Accounts
Assembly
VpnHood.AppLib.Api.dll

Represents the premium code that serves an account.

public class AccessCodeInfo
Inheritance
AccessCodeInfo
Inherited Members

Remarks

The account backend ranks what the account holds, what is paid for now first, then the best of the rest, and names one code at each read: the app never picks, and nothing needs repair when a code ends.

Properties

AccessCode

Gets or sets the premium code.

public required string AccessCode { get; set; }

Property Value

string

ExpirationTime

Gets or sets when the code expires, where the account backend can tell, or null.

public DateTime? ExpirationTime { get; set; }

Property Value

DateTime?

Remarks

It informs what the UI shows and when the app reads the account again; it does not end the code, as whether a code works is the access server's answer at connect.