Show / Hide Table of Contents

Class NetworkCredentialExtension

Provides extension methods for NetworkCredentials.

Inheritance
Object
NetworkCredentialExtension
Namespace: NanoByte.Common.Net
Assembly: NanoByte.Common.dll
Syntax
public static class NetworkCredentialExtension : Object

Methods

ToBasicAuth(NetworkCredential)

Creates a HTTP basic authentication header from the provided credentials.

Declaration
public static AuthenticationHeaderValue ToBasicAuth(this NetworkCredential credential)
Parameters
Type Name Description
NetworkCredential credential
Returns
Type Description
AuthenticationHeaderValue
In This Article
Back to top Copyright Bastian Eicher