C# Class Youbora.Analytics.Providers.Common.SilverlightWebClient

显示文件 Open project: NicePeopleAtWork/NicePlayers Class Usage Examples

Private Properties

Property Type Description
CreatePostRequest System.Net.WebRequest
GetResponse System.Net.WebResponse
ReadResponseToString string

Public Methods

Method Description
DownloadData ( Uri address ) : string

Downloads the resource as a string from the URI specified.

UploadValues ( Uri address, string>.Dictionary data ) : string

Uploads the specified name/value collection to the resource identified by the specified URI.

Private Methods

Method Description
CreatePostRequest ( Uri uri ) : WebRequest
GetResponse ( IAsyncResult asynchronousResult ) : WebResponse
ReadResponseToString ( WebResponse response ) : string

Method Details

DownloadData() public method

Downloads the resource as a string from the URI specified.
public DownloadData ( Uri address ) : string
address System.Uri The URI represented by the Uri object, from which to download data.
return string

UploadValues() public method

Uploads the specified name/value collection to the resource identified by the specified URI.
public UploadValues ( Uri address, string>.Dictionary data ) : string
address System.Uri Uploads the specified name/value collection to the resource identified by the specified URI.
data string>.Dictionary The Dictionary to send to the resource..
return string