Share via


CookieHeaderManager.GetCookieHeader Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Retrieves the authentication cookie header with the given site url.

Namespace:  Microsoft.VisualStudio.SharePoint.Remote.Authentication
Assembly:  Microsoft.VisualStudio.SharePoint.Remote (in Microsoft.VisualStudio.SharePoint.Remote.dll)

Syntax

'Declaration
Public Function GetCookieHeader ( _
    siteUrl As Uri _
) As String
public string GetCookieHeader(
    Uri siteUrl
)

Parameters

  • siteUrl
    Type: System.Uri

    The url to the SharePoint site.

Return Value

Type: System.String
The cookie header. Null if it is not found.

.NET Framework Security

See Also

Reference

CookieHeaderManager Class

Microsoft.VisualStudio.SharePoint.Remote.Authentication Namespace