C# Class ZipRecruiter.FormUpload

Show file Open project: ZipRecruiter/JobAlerts

Public Methods

Method Description
GetMultipartFormData ( object>.Dictionary postParameters, string boundary ) : byte[]
MultipartFormDataPost ( string postUrl, string userAgent, object>.Dictionary postParameters ) : HttpWebResponse

Private Methods

Method Description
PostForm ( string postUrl, string userAgent, string contentType, byte formData ) : HttpWebResponse

Method Details

GetMultipartFormData() public static method

public static GetMultipartFormData ( object>.Dictionary postParameters, string boundary ) : byte[]
postParameters object>.Dictionary
boundary string
return byte[]

MultipartFormDataPost() public static method

public static MultipartFormDataPost ( string postUrl, string userAgent, object>.Dictionary postParameters ) : HttpWebResponse
postUrl string
userAgent string
postParameters object>.Dictionary
return System.Net.HttpWebResponse