Class LinuxUdsPeerIdentity
Represents identity of the peer interacting via Unix Domain Socket on Linux.
Inheritance
LinuxUdsPeerIdentity
Assembly: DotNext.MaintenanceServices.dll
Syntax
[CLSCompliant(false)]
public sealed record LinuxUdsPeerIdentity : IIdentity, IEquatable<LinuxUdsPeerIdentity>
Properties
View Source
DisplayName
Gets user information, if available.
Declaration
public string? DisplayName { get; }
Property Value
View Source
GroupId
Gets group ID of the process identified by ProcessId.
Declaration
public uint GroupId { get; }
Property Value
View Source
IsAuthenticated
Gets a value that indicates whether the user has been authenticated.
Declaration
public bool IsAuthenticated { get; init; }
Property Value
View Source
Name
Declaration
public string? Name { get; }
Property Value
View Source
ProcessId
Declaration
public uint ProcessId { get; }
Property Value
View Source
UserId
Gets user ID of the process identified by ProcessId.
Declaration
public uint UserId { get; }
Property Value
Methods
View Source
Equals(LinuxUdsPeerIdentity?)
Declaration
public bool Equals(LinuxUdsPeerIdentity? other)
Parameters
Returns
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
View Source
operator ==(LinuxUdsPeerIdentity?, LinuxUdsPeerIdentity?)
Declaration
public static bool operator ==(LinuxUdsPeerIdentity? left, LinuxUdsPeerIdentity? right)
Parameters
Returns
View Source
operator !=(LinuxUdsPeerIdentity?, LinuxUdsPeerIdentity?)
Declaration
public static bool operator !=(LinuxUdsPeerIdentity? left, LinuxUdsPeerIdentity? right)
Parameters
Returns
Implements
Extension Methods