Table of Contents

Class UniqueIdFactory

Namespace
VpnHood.Core.Tunneling.Utils
Assembly
VpnHood.Core.Tunneling.dll

Provides unique IDs, as requests and connections carry in their logs.

public static class UniqueIdFactory
Inheritance
UniqueIdFactory
Inherited Members

Properties

DebugInitId

Gets or sets the number a debug build's IDs count up from, before the first ID. The default is 1000.

public static int DebugInitId { get; set; }

Property Value

int

Methods

Create()

Creates a unique ID: a GUID, or, in a debug build, a counted one such as ReqId-1001, which its logs make easier to follow.

public static string Create()

Returns

string

The ID.