Class DaemonCallerInfo
- Assembly
- VpnHood.AppUi.Hosting.Desktop.Daemon.dll
Represents who is at the other end of a channel connection, and whether they may use the app.
public record DaemonCallerInfo : IEquatable<DaemonCallerInfo>
- Inheritance
-
DaemonCallerInfo
- Implements
- Inherited Members
Constructors
DaemonCallerInfo(string, bool)
Represents who is at the other end of a channel connection, and whether they may use the app.
public DaemonCallerInfo(string Name, bool IsAdministrator)
Parameters
NamestringThe caller's name, for the service's log: an account name on Windows, a user name on Linux, or
uid Nwhere the user has none.IsAdministratorbooltrue where the caller is an administrator, who may use the app.
Properties
IsAdministrator
true where the caller is an administrator, who may use the app.
public bool IsAdministrator { get; init; }
Property Value
Name
The caller's name, for the service's log: an account name on Windows, a user name on Linux, or uid N where the
user has none.
public string Name { get; init; }