TestimoX

API Reference

Class

SpnParts

Namespace ADPlayground.Kerberos.SpnParser
Assembly ADPlayground
Modifiers sealed

Parsed SPN parts.

Inheritance

  • Object
  • SpnParts

Constructors

public SpnParts(String raw, String serviceClass, String host, Nullable<Int32> port, String realm) #

Creates a new instance of parsed SPN parts.

Parameters

raw System.String requiredposition: 0
Original SPN string (trimmed).
serviceClass System.String requiredposition: 1
Service class (left side of the first '/').
host System.String requiredposition: 2
Host portion of the target (may be null).
port System.Nullable{System.Int32} requiredposition: 3
Port portion when present (may be null).
realm System.String requiredposition: 4
Realm portion when present (after '@').

Properties

public String Raw { get; } #

Original SPN string (trimmed).

public String ServiceClass { get; } #

Service class (left side of the first '/').

public String Host { get; } #

Host portion of the target.

public Nullable<Int32> Port { get; } #

Port portion when present.

public String Realm { get; } #

Realm portion when present (after '@').