Method | Description | |
---|---|---|
DoLogin ( string username, string password, string machineAuth = "", IUserInputOutputHandler userInputOutput = null ) : |
Executes the web login using the Steam website.
|
|
Fetch ( string url, string method, string>.Dictionary |
Retries a Fetch until success or fail conditions have been met.
|
|
RetryDoLogin ( System.TimeSpan retryWait, int retryLimit, string username, string password, string machineAuth = "", IUserInputOutputHandler userInputOutput = null ) : |
Retries the DoLogin method until success or fail conditions have been met.
|
|
Web ( IWebRequestHandler |
Initializes a new Web class in accordance to the IWebRequestHandler IResponse provided.
|
Method | Description | |
---|---|---|
RetryRequestProcessor ( int retryWait, int retryLimit, string url, string method, string>.Dictionary |
Processes retry attempts
|
|
SubmitCookies ( |
public DoLogin ( string username, string password, string machineAuth = "", IUserInputOutputHandler userInputOutput = null ) : |
||
username | string | Username to use |
password | string | Password to use |
machineAuth | string | Steam machine auth string. /// The user I/O handler to use. If null, defaults to Console.Write/Read |
userInputOutput | IUserInputOutputHandler | |
return |
public Fetch ( string url, string method, string>.Dictionary |
||
url | string | The URL to request. |
method | string | The method to be used. Ex: POST |
data | string>.Dictionary | Dictionary containing the paramters to be sent in the URL or in the Stream, depending on the method. |
cookies | A cookiecontainer with cookies to send. | |
xHeaders | bool | /// Special parameter, should only be used with requests that need "X-Requested-With: /// XMLHttpRequest" and "X-Prototype-Version: 1.7" /// |
referer | string | Sets the referrer for the request. |
isWebkit | bool | |
retryWait | int | The TimeSpan in which to wait between requests. |
retryLimit | int | The max number of requests to perform before failing. |
return | IResponse |
public RetryDoLogin ( System.TimeSpan retryWait, int retryLimit, string username, string password, string machineAuth = "", IUserInputOutputHandler userInputOutput = null ) : |
||
retryWait | System.TimeSpan | The TimeSpan in which to wait between requests. |
retryLimit | int | The max number of requests to perform before failing. |
username | string | Username to use |
password | string | Password to use |
machineAuth | string | Steam machine auth string. /// You should save Web.SteamMachineAuth after the code has been entered and the request has /// been successful and pass it to DoLogin in future attempts to login. /// This field can be left blank, but if the account is SteamGuard protected /// it will ask you for a new code every time. |
userInputOutput | IUserInputOutputHandler | |
return |
public Web ( IWebRequestHandler |
||
webRequestHandler | IWebRequestHandler |
|
return | System |