WebDavSessionAsyncGetAuthenticationSchemeAsync Method (Uri)
IT Hit WebDAV Classes Reference
Gets server authentication scheme.
Namespace:
ITHit.WebDAV.Client
Assembly:
ITHit.WebDAV.Client (in ITHit.WebDAV.Client.dll) Version: 2.0.420.0
Syntaxpublic Task<AuthenticationSchemes> GetAuthenticationSchemeAsync(
Uri path
)
Public Function GetAuthenticationSchemeAsync (
path As Uri
) As Task(Of AuthenticationSchemes)
public:
Task<AuthenticationSchemes>^ GetAuthenticationSchemeAsync(
Uri^ path
)
member GetAuthenticationSchemeAsync :
path : Uri -> Task<AuthenticationSchemes>
Parameters
- path
- Type: SystemUri
Path for wich authentication will be determined.
Return Value
Type:
TaskAuthenticationSchemesSystem.Net.AuthenticationSchemes enumeration.
RemarksUsually you will use this method to enable or disable buffering before upload. When the NTLM authentication protocol is used server must be configured to authenticate only the first request for unbuffered upload support. Subsequent requests over the same TCP connection must be processed using the authentication information of the initial request.
See Also