Namespace NanoByte.Common.Net
Network communication.
Classes
AnsiCliCredentialProvider
Asks the user for NetworkCredentials using an ANSI console prompt.
ConfigurationCredentialProvider
Gets credentials from IConfiguration.
ConfigurationCredentialProviderRegistration
Provides extension methods for registering ConfigurationCredentialProvider instances.
Connectivity
State of a network connection.
DownloadFile
Downloads a file from a specific internet address to a stream.
HttpClientExtensions
Provides extension methods for HttpClient and related classes.
MicroServer
Provides a minimalistic HTTP web server that can provide only a single file. Useful for testing download code.
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.
NetUtils
Provides helper methods for the System.Net subsystem.
NetworkCredentialExtension
Provides extension methods for NetworkCredentials.
UriExtensions
Provides extension methods for Uris.
WindowsCliCredentialProvider
Asks the user for NetworkCredentials using the Windows Credential Manager command-line interface.
WindowsCredentialProvider
Gets NetworkCredentials using the Windows Credential Manager.
WindowsGuiCredentialProvider
Asks the user for NetworkCredentials using the Windows Credential Manager GUI.
WindowsNonInteractiveCredentialProvider
Gets NetworkCredentials stored in the Windows Credential Manager. Does not prompt for new credentials.
Interfaces
ICredentialProvider
Asks the user or a keyring for NetworkCredentials for specific Uris.