C# 클래스 Interop.WinHttp

파일 보기 프로젝트 열기: dotnet/corefx

공개 메소드들

메소드 설명
WinHttpAddRequestHeaders ( Interop.WinHttp.SafeWinHttpHandle, requestHandle, StringBuilder headers, uint headersLength, uint modifiers ) : bool
WinHttpAddRequestHeaders ( Interop.WinHttp.SafeWinHttpHandle, requestHandle, string headers, uint headersLength, uint modifiers ) : bool
WinHttpCloseHandle ( IntPtr sessionHandle ) : bool
WinHttpConnect ( Interop.WinHttp.SafeWinHttpHandle, sessionHandle, string serverName, ushort serverPort, uint reserved ) : Interop.WinHttp.SafeWinHttpHandle,
WinHttpGetIEProxyConfigForCurrentUser ( Interop, &proxyConfig ) : bool
WinHttpGetProxyForUrl ( Interop.WinHttp.SafeWinHttpHandle, sessionHandle, string url, Interop, &autoProxyOptions, Interop, &proxyInfo ) : bool
WinHttpOpen ( IntPtr userAgent, uint accessType, string proxyName, string proxyBypass, uint flags ) : Interop.WinHttp.SafeWinHttpHandle,
WinHttpOpenRequest ( Interop.WinHttp.SafeWinHttpHandle, connectHandle, string verb, string objectName, string version, string referrer, string acceptTypes, uint flags ) : Interop.WinHttp.SafeWinHttpHandle,
WinHttpQueryAuthSchemes ( Interop.WinHttp.SafeWinHttpHandle, requestHandle, uint &supportedSchemes, uint &firstScheme, uint &authTarget ) : bool
WinHttpQueryDataAvailable ( Interop.WinHttp.SafeWinHttpHandle, requestHandle, IntPtr bytesAvailableShouldBeNullForAsync ) : bool
WinHttpQueryHeaders ( Interop.WinHttp.SafeWinHttpHandle, requestHandle, uint infoLevel, string name, IntPtr buffer, uint &bufferLength, uint &index ) : bool
WinHttpQueryHeaders ( Interop.WinHttp.SafeWinHttpHandle, requestHandle, uint infoLevel, string name, uint &number, uint &bufferLength, IntPtr index ) : bool
WinHttpQueryOption ( Interop.WinHttp.SafeWinHttpHandle, handle, uint option, IntPtr &buffer, uint &bufferSize ) : bool
WinHttpQueryOption ( Interop.WinHttp.SafeWinHttpHandle, handle, uint option, StringBuilder buffer, uint &bufferSize ) : bool
WinHttpQueryOption ( Interop.WinHttp.SafeWinHttpHandle, handle, uint option, uint &buffer, uint &bufferSize ) : bool
WinHttpReadData ( Interop.WinHttp.SafeWinHttpHandle, requestHandle, IntPtr buffer, uint bufferSize, IntPtr bytesReadShouldBeNullForAsync ) : bool
WinHttpReceiveResponse ( Interop.WinHttp.SafeWinHttpHandle, requestHandle, IntPtr reserved ) : bool
WinHttpSendRequest ( Interop.WinHttp.SafeWinHttpHandle, requestHandle, StringBuilder headers, uint headersLength, IntPtr optional, uint optionalLength, uint totalLength, IntPtr context ) : bool
WinHttpSetCredentials ( Interop.WinHttp.SafeWinHttpHandle, requestHandle, uint authTargets, uint authScheme, string userName, string password, IntPtr reserved ) : bool
WinHttpSetOption ( Interop.WinHttp.SafeWinHttpHandle, handle, uint option, IntPtr optionData, uint optionLength ) : bool
WinHttpSetOption ( Interop.WinHttp.SafeWinHttpHandle, handle, uint option, string optionData, uint optionLength ) : bool
WinHttpSetOption ( Interop.WinHttp.SafeWinHttpHandle, handle, uint option, uint &optionData, uint optionLength = sizeof(uint) ) : bool
WinHttpSetStatusCallback ( Interop.WinHttp.SafeWinHttpHandle, handle, Interop, callback, uint notificationFlags, IntPtr reserved ) : IntPtr
WinHttpSetTimeouts ( Interop.WinHttp.SafeWinHttpHandle, handle, int resolveTimeout, int connectTimeout, int sendTimeout, int receiveTimeout ) : bool
WinHttpWriteData ( Interop.WinHttp.SafeWinHttpHandle, requestHandle, IntPtr buffer, uint bufferSize, IntPtr bytesWrittenShouldBeNullForAsync ) : bool

비공개 메소드들

메소드 설명
CopyToBufferOrFailIfInsufficientBufferLength ( string value, IntPtr buffer, uint &bufferLength ) : bool

메소드 상세

WinHttpAddRequestHeaders() 공개 정적인 메소드

public static WinHttpAddRequestHeaders ( Interop.WinHttp.SafeWinHttpHandle, requestHandle, StringBuilder headers, uint headersLength, uint modifiers ) : bool
requestHandle Interop.WinHttp.SafeWinHttpHandle,
headers StringBuilder
headersLength uint
modifiers uint
리턴 bool

WinHttpAddRequestHeaders() 공개 정적인 메소드

public static WinHttpAddRequestHeaders ( Interop.WinHttp.SafeWinHttpHandle, requestHandle, string headers, uint headersLength, uint modifiers ) : bool
requestHandle Interop.WinHttp.SafeWinHttpHandle,
headers string
headersLength uint
modifiers uint
리턴 bool

WinHttpCloseHandle() 공개 정적인 메소드

public static WinHttpCloseHandle ( IntPtr sessionHandle ) : bool
sessionHandle IntPtr
리턴 bool

WinHttpConnect() 공개 정적인 메소드

public static WinHttpConnect ( Interop.WinHttp.SafeWinHttpHandle, sessionHandle, string serverName, ushort serverPort, uint reserved ) : Interop.WinHttp.SafeWinHttpHandle,
sessionHandle Interop.WinHttp.SafeWinHttpHandle,
serverName string
serverPort ushort
reserved uint
리턴 Interop.WinHttp.SafeWinHttpHandle,

WinHttpGetIEProxyConfigForCurrentUser() 공개 정적인 메소드

public static WinHttpGetIEProxyConfigForCurrentUser ( Interop, &proxyConfig ) : bool
proxyConfig Interop,
리턴 bool

WinHttpGetProxyForUrl() 공개 정적인 메소드

public static WinHttpGetProxyForUrl ( Interop.WinHttp.SafeWinHttpHandle, sessionHandle, string url, Interop, &autoProxyOptions, Interop, &proxyInfo ) : bool
sessionHandle Interop.WinHttp.SafeWinHttpHandle,
url string
autoProxyOptions Interop,
proxyInfo Interop,
리턴 bool

WinHttpOpen() 공개 정적인 메소드

public static WinHttpOpen ( IntPtr userAgent, uint accessType, string proxyName, string proxyBypass, uint flags ) : Interop.WinHttp.SafeWinHttpHandle,
userAgent IntPtr
accessType uint
proxyName string
proxyBypass string
flags uint
리턴 Interop.WinHttp.SafeWinHttpHandle,

WinHttpOpenRequest() 공개 정적인 메소드

public static WinHttpOpenRequest ( Interop.WinHttp.SafeWinHttpHandle, connectHandle, string verb, string objectName, string version, string referrer, string acceptTypes, uint flags ) : Interop.WinHttp.SafeWinHttpHandle,
connectHandle Interop.WinHttp.SafeWinHttpHandle,
verb string
objectName string
version string
referrer string
acceptTypes string
flags uint
리턴 Interop.WinHttp.SafeWinHttpHandle,

WinHttpQueryAuthSchemes() 공개 정적인 메소드

public static WinHttpQueryAuthSchemes ( Interop.WinHttp.SafeWinHttpHandle, requestHandle, uint &supportedSchemes, uint &firstScheme, uint &authTarget ) : bool
requestHandle Interop.WinHttp.SafeWinHttpHandle,
supportedSchemes uint
firstScheme uint
authTarget uint
리턴 bool

WinHttpQueryDataAvailable() 공개 정적인 메소드

public static WinHttpQueryDataAvailable ( Interop.WinHttp.SafeWinHttpHandle, requestHandle, IntPtr bytesAvailableShouldBeNullForAsync ) : bool
requestHandle Interop.WinHttp.SafeWinHttpHandle,
bytesAvailableShouldBeNullForAsync IntPtr
리턴 bool

WinHttpQueryHeaders() 공개 정적인 메소드

public static WinHttpQueryHeaders ( Interop.WinHttp.SafeWinHttpHandle, requestHandle, uint infoLevel, string name, IntPtr buffer, uint &bufferLength, uint &index ) : bool
requestHandle Interop.WinHttp.SafeWinHttpHandle,
infoLevel uint
name string
buffer IntPtr
bufferLength uint
index uint
리턴 bool

WinHttpQueryHeaders() 공개 정적인 메소드

public static WinHttpQueryHeaders ( Interop.WinHttp.SafeWinHttpHandle, requestHandle, uint infoLevel, string name, uint &number, uint &bufferLength, IntPtr index ) : bool
requestHandle Interop.WinHttp.SafeWinHttpHandle,
infoLevel uint
name string
number uint
bufferLength uint
index IntPtr
리턴 bool

WinHttpQueryOption() 공개 정적인 메소드

public static WinHttpQueryOption ( Interop.WinHttp.SafeWinHttpHandle, handle, uint option, IntPtr &buffer, uint &bufferSize ) : bool
handle Interop.WinHttp.SafeWinHttpHandle,
option uint
buffer IntPtr
bufferSize uint
리턴 bool

WinHttpQueryOption() 공개 정적인 메소드

public static WinHttpQueryOption ( Interop.WinHttp.SafeWinHttpHandle, handle, uint option, StringBuilder buffer, uint &bufferSize ) : bool
handle Interop.WinHttp.SafeWinHttpHandle,
option uint
buffer StringBuilder
bufferSize uint
리턴 bool

WinHttpQueryOption() 공개 정적인 메소드

public static WinHttpQueryOption ( Interop.WinHttp.SafeWinHttpHandle, handle, uint option, uint &buffer, uint &bufferSize ) : bool
handle Interop.WinHttp.SafeWinHttpHandle,
option uint
buffer uint
bufferSize uint
리턴 bool

WinHttpReadData() 공개 정적인 메소드

public static WinHttpReadData ( Interop.WinHttp.SafeWinHttpHandle, requestHandle, IntPtr buffer, uint bufferSize, IntPtr bytesReadShouldBeNullForAsync ) : bool
requestHandle Interop.WinHttp.SafeWinHttpHandle,
buffer IntPtr
bufferSize uint
bytesReadShouldBeNullForAsync IntPtr
리턴 bool

WinHttpReceiveResponse() 공개 정적인 메소드

public static WinHttpReceiveResponse ( Interop.WinHttp.SafeWinHttpHandle, requestHandle, IntPtr reserved ) : bool
requestHandle Interop.WinHttp.SafeWinHttpHandle,
reserved IntPtr
리턴 bool

WinHttpSendRequest() 공개 정적인 메소드

public static WinHttpSendRequest ( Interop.WinHttp.SafeWinHttpHandle, requestHandle, StringBuilder headers, uint headersLength, IntPtr optional, uint optionalLength, uint totalLength, IntPtr context ) : bool
requestHandle Interop.WinHttp.SafeWinHttpHandle,
headers StringBuilder
headersLength uint
optional IntPtr
optionalLength uint
totalLength uint
context IntPtr
리턴 bool

WinHttpSetCredentials() 공개 정적인 메소드

public static WinHttpSetCredentials ( Interop.WinHttp.SafeWinHttpHandle, requestHandle, uint authTargets, uint authScheme, string userName, string password, IntPtr reserved ) : bool
requestHandle Interop.WinHttp.SafeWinHttpHandle,
authTargets uint
authScheme uint
userName string
password string
reserved IntPtr
리턴 bool

WinHttpSetOption() 공개 정적인 메소드

public static WinHttpSetOption ( Interop.WinHttp.SafeWinHttpHandle, handle, uint option, IntPtr optionData, uint optionLength ) : bool
handle Interop.WinHttp.SafeWinHttpHandle,
option uint
optionData IntPtr
optionLength uint
리턴 bool

WinHttpSetOption() 공개 정적인 메소드

public static WinHttpSetOption ( Interop.WinHttp.SafeWinHttpHandle, handle, uint option, string optionData, uint optionLength ) : bool
handle Interop.WinHttp.SafeWinHttpHandle,
option uint
optionData string
optionLength uint
리턴 bool

WinHttpSetOption() 공개 정적인 메소드

public static WinHttpSetOption ( Interop.WinHttp.SafeWinHttpHandle, handle, uint option, uint &optionData, uint optionLength = sizeof(uint) ) : bool
handle Interop.WinHttp.SafeWinHttpHandle,
option uint
optionData uint
optionLength uint
리턴 bool

WinHttpSetStatusCallback() 공개 정적인 메소드

public static WinHttpSetStatusCallback ( Interop.WinHttp.SafeWinHttpHandle, handle, Interop, callback, uint notificationFlags, IntPtr reserved ) : IntPtr
handle Interop.WinHttp.SafeWinHttpHandle,
callback Interop,
notificationFlags uint
reserved IntPtr
리턴 IntPtr

WinHttpSetTimeouts() 공개 정적인 메소드

public static WinHttpSetTimeouts ( Interop.WinHttp.SafeWinHttpHandle, handle, int resolveTimeout, int connectTimeout, int sendTimeout, int receiveTimeout ) : bool
handle Interop.WinHttp.SafeWinHttpHandle,
resolveTimeout int
connectTimeout int
sendTimeout int
receiveTimeout int
리턴 bool

WinHttpWriteData() 공개 정적인 메소드

public static WinHttpWriteData ( Interop.WinHttp.SafeWinHttpHandle, requestHandle, IntPtr buffer, uint bufferSize, IntPtr bytesWrittenShouldBeNullForAsync ) : bool
requestHandle Interop.WinHttp.SafeWinHttpHandle,
buffer IntPtr
bufferSize uint
bytesWrittenShouldBeNullForAsync IntPtr
리턴 bool