C# Class MtGoxTrader.Model.MtGoxNetTools

Datei anzeigen Open project: iamapi/MtgoxTrader

Public Methods

Method Description
DoAuthenticatedAPIPost ( string url, string apiKey, string apiSecret, string moreargs = null ) : string

Perform an authenticated post to MtGox client API

Protected Methods

Method Description
EncodeParamsToSecret ( string parameters, string apiSecret ) : string

Get HMACSHA512 hash of specified post parameters using the apiSecret as the key

Method Details

DoAuthenticatedAPIPost() public method

Perform an authenticated post to MtGox client API
public DoAuthenticatedAPIPost ( string url, string apiKey, string apiSecret, string moreargs = null ) : string
url string
apiKey string
apiSecret string
moreargs string
return string

EncodeParamsToSecret() protected method

Get HMACSHA512 hash of specified post parameters using the apiSecret as the key
protected EncodeParamsToSecret ( string parameters, string apiSecret ) : string
parameters string
apiSecret string
return string