Search Results for

    Show / Hide Table of Contents

    Class PdsEndpoint

    Information about discovered PDS instance

    Inheritance
    System.Object
    PdsEndpoint
    Implements
    System.IComparable<><PdsEndpoint>
    Namespace: AdmPwd.Types
    Assembly: AdmPwd.PDSWrapper.dll
    Syntax
    public class PdsEndpoint : Object, IComparable<PdsEndpoint>

    Constructors

    PdsEndpoint(string, ushort, ushort, ushort, uint, string)

    Constructor

    Declaration
    public PdsEndpoint(string host, ushort port, ushort priority, ushort weight, uint ttl, string forest)
    Parameters
    Type Name Description
    string host

    PDS hostname

    ushort port

    PDS listening port

    ushort priority

    PDS priority

    ushort weight

    PDS weight. Currently not used

    uint ttl

    PDS TTL

    string forest

    Forest serviced by this instance

    Properties

    Host

    Hostname of PDS server

    Declaration
    public string Host { get; }
    Property Value
    Type Description
    string

    IsAlive

    Whether or not the PDS instance seems to be alive

    Declaration
    public bool IsAlive { get; }
    Property Value
    Type Description
    bool

    Port

    TCP and UDP port where PDS listens to requests

    Declaration
    public ushort Port { get; }
    Property Value
    Type Description
    ushort

    Priority

    SRV record priority
    Note: For PDS intances discovered from GPO it's always 100.

    Declaration
    public ushort Priority { get; }
    Property Value
    Type Description
    ushort

    ServicedForest

    Which AD forest this endpoint is servicing. Useful for management tools that want to operate against various forests (such as machines of vendors working for multiple customers)

    Declaration
    public string ServicedForest { get; }
    Property Value
    Type Description
    string

    TTL

    SRV record TTL Note: For PDS isntances discovered from GPO it's always 1200.

    Declaration
    public uint TTL { get; }
    Property Value
    Type Description
    uint

    Weight

    SRV record weight
    Note: For PDS intances discovered from GPO, priority is set according to order they're listed in GPO - entries at the beginning are more preferred.

    Declaration
    public ushort Weight { get; }
    Property Value
    Type Description
    ushort

    Methods

    CompareTo(PdsEndpoint)

    Inherited from IComparable. Helps to sort PDS according to priority

    Declaration
    public int CompareTo(PdsEndpoint other)
    Parameters
    Type Name Description
    PdsEndpoint other
    Returns
    Type Description
    int

    MarkAsAlive()

    Marks PDS endpoint as alive

    Declaration
    public void MarkAsAlive()

    MarkAsDead()

    Marks PDS endpoint as dead

    Declaration
    public void MarkAsDead()

    Implements

    System.IComparable<>
    ☀
    ☾
    Back to top Generated by DocFX