C# Class BAH.BOS.WebAPI.Client.CookieManager

Cookie管理器,CE平台自定义的解决方案。
Datei anzeigen Open project: Ronaltn/BAH.BOS.WebAPI.Client

Public Methods

Method Description
Clear ( ) : void

清空Cookie。

Get ( string url ) : string

获取Cookie。

Remove ( string url ) : void

移除Cookie。

Save ( string url, string cookie ) : void

保存Cookie。

Private Methods

Method Description
GenerateKey ( string url ) : string

生成访问字段的键。

Method Details

Clear() public static method

清空Cookie。
public static Clear ( ) : void
return void

Get() public static method

获取Cookie。
public static Get ( string url ) : string
url string URL地址。
return string

Remove() public static method

移除Cookie。
public static Remove ( string url ) : void
url string URL地址。
return void

Save() public static method

保存Cookie。
public static Save ( string url, string cookie ) : void
url string URL地址。
cookie string Cookie信息。
return void