C# Class KeePass.Sources.Web.WebUtils

显示文件 Open project: gkardava/WinPass Class Usage Examples

Public Methods

Method Description
CreateCredentials ( string user, string password, string domain ) : NetworkCredential
Deserialize ( string info ) : KeePass.Sources.Web.WebUrlInfo
Download ( string url, ICredentials credentials, Action report ) : void
Serialize ( WebRequest request ) : string

Method Details

CreateCredentials() public static method

public static CreateCredentials ( string user, string password, string domain ) : NetworkCredential
user string
password string
domain string
return System.Net.NetworkCredential

Deserialize() public static method

public static Deserialize ( string info ) : KeePass.Sources.Web.WebUrlInfo
info string
return KeePass.Sources.Web.WebUrlInfo

Download() public static method

public static Download ( string url, ICredentials credentials, Action report ) : void
url string
credentials ICredentials
report Action
return void

Serialize() public static method

public static Serialize ( WebRequest request ) : string
request System.Net.WebRequest
return string