3 references to Basic
System.Net.HttpListener (3)
System\Net\Managed\HttpListenerContext.Managed.cs (1)
44
_user = ParseBasicAuthentication(header.Substring(AuthenticationTypes.
Basic
.Length + 1));
System\Net\Managed\ListenerAsyncResult.Managed.cs (2)
145
authHeader.Length < AuthenticationTypes.
Basic
.Length + 2 ||
146
!HttpListenerContext.TryParseBasicAuth(authHeader.Substring(AuthenticationTypes.
Basic
.Length + 1), out errorCode, out _, out _))