DirectoryConnectionOptions record

Namespace Runic.Platform.Administration.Windows.DirectoryServices · Runic.Platform.Administration.Windows 0.7.0-preview.5

public sealed record DirectoryConnectionOptions : IEquatable<DirectoryConnectionOptions>

Inherits or implements IEquatable.

Explicit directory endpoint and bounded connection behavior. Credentials are supplied separately.

Constructors

DirectoryConnectionOptions

public DirectoryConnectionOptions(string Server)

Explicit directory endpoint and bounded connection behavior. Credentials are supplied separately.

Properties

Authentication

public DirectoryAuthentication Authentication { get; init; }

Authentication mode.

Port

public int Port { get; init; }

Port; zero selects 636 for TLS or 389 otherwise.

Server

public string Server { get; init; }

No documentation.

Timeout

public TimeSpan Timeout { get; init; }

Native request timeout, between one second and five minutes.

Transport

public DirectoryTransport Transport { get; init; }

Connection protection.