Class HttpBasicAuthenticationHelper
Inheritance
System.Object
HttpBasicAuthenticationHelper
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Azos.Web.Messaging
Assembly: Azos.Web.dll
Syntax
public class HttpBasicAuthenticationHelper
Constructors
HttpBasicAuthenticationHelper(String, String)
Declaration
public HttpBasicAuthenticationHelper(string username, string password)
Parameters
Type | Name | Description |
---|---|---|
System.String | username | |
System.String | password |
Methods
AddAuthHeader(ref WebClient.RequestParams)
Declaration
public void AddAuthHeader(ref WebClient.RequestParams request)
Parameters
Type | Name | Description |
---|---|---|
WebClient.RequestParams | request |
AddAuthHeader(HttpWebRequest)
Declaration
public void AddAuthHeader(HttpWebRequest request)
Parameters
Type | Name | Description |
---|---|---|
System.Net.HttpWebRequest | request |