C# Class Utility.SPClaimsAuth.CookieReader

WinInet.dll wrapper
Mostrar archivo Open project: dream-365/toolkit

Public Methods

Method Description
ExtractAuthCookiesFromUrl ( string url ) : CookieCollection
GetCookie ( string url ) : string

Returns cookie contents as a string

Private Methods

Method Description
InternetGetCookieEx ( string url, string cookieName, StringBuilder cookieData, int &size, int flags, IntPtr pReserved ) : bool

Method Details

ExtractAuthCookiesFromUrl() public static method

public static ExtractAuthCookiesFromUrl ( string url ) : CookieCollection
url string
return System.Net.CookieCollection

GetCookie() public static method

Returns cookie contents as a string
public static GetCookie ( string url ) : string
url string
return string