C# 클래스 WebHelpers, code

파일 보기 프로젝트 열기: shendongnian/code 1 사용 예제들

공개 메소드들

메소드 설명
MultipartFormDataPost ( string postUrl, string userAgent, Dictionary, values, string boundary ) : HttpWebResponse,

Post the data as a multipart form

PostForm ( string postUrl, string userAgent, string contentType, string formData ) : HttpWebResponse,

Post a form

RandomHexDigits ( int count ) : string

Generate random hex digits

비공개 메소드들

메소드 설명
MakeMultipartForm ( Dictionary, values, string boundary ) : string

Turn the key and value pairs into a multipart form

메소드 상세

MultipartFormDataPost() 공개 정적인 메소드

Post the data as a multipart form
public static MultipartFormDataPost ( string postUrl, string userAgent, Dictionary, values, string boundary ) : HttpWebResponse,
postUrl string
userAgent string
values Dictionary,
boundary string
리턴 HttpWebResponse,

PostForm() 공개 정적인 메소드

Post a form
public static PostForm ( string postUrl, string userAgent, string contentType, string formData ) : HttpWebResponse,
postUrl string
userAgent string
contentType string
formData string
리턴 HttpWebResponse,

RandomHexDigits() 공개 정적인 메소드

Generate random hex digits
public static RandomHexDigits ( int count ) : string
count int
리턴 string