Table of Contents

Namespace NanoByte.Common.Net

Network communication.

Classes

AnsiCliCredentialProvider

Asks the user for System.Net.NetworkCredentials using an ANSI console prompt.

DownloadFile

Downloads a file from a specific internet address to a stream.

HttpClientExtensions

Provides extension methods for System.Net.Http.HttpClient and related classes.

HttpServer

A simple HTTP server.

MicroServer

A minimalistic HTTP server that only serves a single file on localhost. Useful for unit tests.

NetUtils

Provides helper methods for the System.Net subsystem.

Netrc

Represents data loaded from a .netrc file as a map from host names to credentials.

NetrcCredentialProvider

Gets credentials from Netrc if possible. Falls back to another provider otherwise.

NetworkCredentialExtension

Provides extension methods for System.Net.NetworkCredentials.

UriExtensions

Provides extension methods for System.Uris.

WebProxyExtensions

Provides extension methods for System.Net.IWebProxys.

WindowsCliCredentialProvider

Asks the user for System.Net.NetworkCredentials using the Windows Credential Manager command-line interface.

WindowsCredentialProvider

Gets System.Net.NetworkCredentials using the Windows Credential Manager.

WindowsGuiCredentialProvider

Asks the user for System.Net.NetworkCredentials using the Windows Credential Manager GUI.

WindowsNonInteractiveCredentialProvider

Gets System.Net.NetworkCredentials stored in the Windows Credential Manager. Does not prompt for new credentials.

Interfaces

ICredentialProvider

Asks the user or a keyring for System.Net.NetworkCredentials for specific System.Uris.

Enums

Connectivity

State of a network connection.