C# Class Imgix_Dotnet.SecureUrl

A url that if given a token will signed with a parameter s=signature
ファイルを表示 Open project: estei/Imgix-Dotnet Class Usage Examples

Public Methods

Method Description
AddParameter ( string name, string value ) : SecureUrl

Adds a new parameter to the url

ToString ( ) : string

Returns a string that represents the current object.

Private Methods

Method Description
CreateParameter ( string currentParameters, string name, string value ) : string
CreateSignature ( string secureUrlToken, string path, string queryString ) : string
CreateSignatureParameter ( string secureUrlToken, string path, string queryString ) : string
Paramstart ( string currentParameters ) : string
SecureUrl ( string scheme, string host, string path, string secureUrlToken ) : System

Initializes a new instance of the SecureUrl class

SecureUrl ( string scheme, string host, string path, string secureUrlToken, string parameters ) : System

Initializes a new instance of the SecureUrl class

Method Details

AddParameter() public method

Adds a new parameter to the url
public AddParameter ( string name, string value ) : SecureUrl
name string The name of the parameter
value string The value of the parameter
return SecureUrl

ToString() public method

Returns a string that represents the current object.
public ToString ( ) : string
return string