C# 클래스 SteamBot.SteamWeb

파일 보기 프로젝트 열기: Top-Cat/SteamBot 1 사용 예제들

공개 메소드들

메소드 설명
DoLogin ( string username, string password ) : CookieCollection

Executes the login by using the Steam Website.

Fetch ( string url, string method, NameValueCollection data = null, CookieContainer cookies = null, bool ajax = true ) : string
Request ( string url, string method, NameValueCollection data = null, CookieContainer cookies = null, bool ajax = true ) : HttpWebResponse
ValidateRemoteCertificate ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors policyErrors ) : bool

비공개 메소드들

메소드 설명
GetHexVal ( char hex ) : int
HexToByte ( string hex ) : byte[]
SubmitCookies ( CookieContainer cookies ) : void

메소드 상세

DoLogin() 공개 정적인 메소드

Executes the login by using the Steam Website.
public static DoLogin ( string username, string password ) : CookieCollection
username string
password string
리턴 System.Net.CookieCollection

Fetch() 공개 정적인 메소드

public static Fetch ( string url, string method, NameValueCollection data = null, CookieContainer cookies = null, bool ajax = true ) : string
url string
method string
data System.Collections.Specialized.NameValueCollection
cookies System.Net.CookieContainer
ajax bool
리턴 string

Request() 공개 정적인 메소드

public static Request ( string url, string method, NameValueCollection data = null, CookieContainer cookies = null, bool ajax = true ) : HttpWebResponse
url string
method string
data System.Collections.Specialized.NameValueCollection
cookies System.Net.CookieContainer
ajax bool
리턴 System.Net.HttpWebResponse

ValidateRemoteCertificate() 공개 정적인 메소드

public static ValidateRemoteCertificate ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors policyErrors ) : bool
sender object
certificate X509Certificate
chain X509Chain
policyErrors SslPolicyErrors
리턴 bool