Table of Contents

Class HelloRequest

Namespace
VpnHood.Core.Tunneling.Messaging
Assembly
VpnHood.Core.Tunneling.dll

Represents a client's request for a session, the first request of a connect: the access key it connects with and what it asks for.

public class HelloRequest : ClientRequest
Inheritance
HelloRequest
Inherited Members

Constructors

HelloRequest()

Represents a client's request for a session, the first request of a connect: the access key it connects with and what it asks for.

public HelloRequest()

Properties

AccessCode

Gets or sets the premium code the client connects with, or null.

public string? AccessCode { get; set; }

Property Value

string

AllowAnonymousTracker

Gets a value indicating whether the person lets the session be reported anonymously, as they chose at the connect; a client from before it sends none, read as false.

public bool AllowAnonymousTracker { get; init; }

Property Value

bool

AllowRedirect

Gets a value indicating whether the client takes a redirect to another server. The default is true.

public bool AllowRedirect { get; init; }

Property Value

bool

ClientInfo

Gets what the client says of itself: its ID, version and user agent.

public required ClientInfo ClientInfo { get; init; }

Property Value

ClientInfo

EncryptedClientId

Gets the client's ID, encrypted with the access key's secret, which shows the client holds the key.

public required byte[] EncryptedClientId { get; init; }

Property Value

byte[]

IsIpV6Supported

Gets a value indicating whether the client's VPN adapter takes IPv6, or null where the client does not say.

public bool? IsIpV6Supported { get; init; }

Property Value

bool?

Mtu

Gets the largest packet the client's tunnel takes; the session's tunnel carries none larger. The default is MtuClient.

public int Mtu { get; init; }

Property Value

int

PlanId

Gets the plan the client connects with.

public ConnectPlanId PlanId { get; init; }

Property Value

ConnectPlanId

ServerLocation

Gets the server location the client asks for, as countryCode/region/city, or null.

public string? ServerLocation { get; init; }

Property Value

string

TokenId

Gets the ID of the access key the client connects with.

public required string TokenId { get; init; }

Property Value

string

UserReview

Gets the person's review of the app, sent with the connection, or null.

public UserReview? UserReview { get; init; }

Property Value

UserReview