C# Class Microsoft.Web.Administration.NativeMethods

Show file Open project: jexuswebserver/Microsoft.Web.Administration

Public Methods

Method Description
BindCertificate ( IPEndPoint ipPort, byte hash, string storeName, System.Guid appId ) : void
BindSni ( int>.Tuple binding, byte hash, string storeName, System.Guid appId ) : void
DeleteCertificateBinding ( ) : void
DeleteSniBinding ( ) : void
QueryHttpNamespaceAcls ( ) : HttpNamespaceAcl[]
QuerySslCertificateInfo ( IPEndPoint ipPort ) : SslCertificateInfo
QuerySslCertificateInfo ( ) : SslCertificateInfo[]
QuerySslSniInfo ( int>.Tuple binding ) : SslSniInfo
QuerySslSniInfo ( ) : SslSniInfo[]

Private Methods

Method Description
CallHttpApi ( System.Action body ) : void
CreateSockAddrStorageStructure ( int port ) : SOCKADDR_STORAGE
CreateSockaddrStructure ( IPEndPoint ipEndPoint ) : GCHandle

Creates an unmanaged sockaddr structure to pass to a WinAPI function.

When the handle goes out of scope you must explicitly release it by calling the Free method; otherwise, memory leaks may occur.

HttpDeleteServiceConfiguration ( IntPtr serviceIntPtr, HTTP_SERVICE_CONFIG_ID configId, IntPtr pConfigInformation, int configInformationLength, IntPtr pOverlapped ) : uint
HttpInitialize ( HTTPAPI_VERSION version, uint flags, IntPtr pReserved ) : uint
HttpQueryServiceConfiguration ( IntPtr serviceIntPtr, HTTP_SERVICE_CONFIG_ID configId, IntPtr pInputConfigInfo, int inputConfigInfoLength, IntPtr pOutputConfigInfo, int outputConfigInfoLength, [ pReturnLength, IntPtr pOverlapped ) : uint
HttpSetServiceConfiguration ( IntPtr serviceIntPtr, HTTP_SERVICE_CONFIG_ID configId, IntPtr pConfigInformation, int configInformationLength, IntPtr pOverlapped ) : uint
HttpTerminate ( uint Flags, IntPtr pReserved ) : uint
ReadSockAddrStorageStructure ( SOCKADDR_STORAGE sockAddrStorageStructure ) : IPEndPoint

Reads the unmanaged sockaddr structure returned by a WinAPI function

ReadSockaddrStructure ( IntPtr pSockaddrStructure ) : IPEndPoint

Reads the unmanaged sockaddr structure returned by a WinAPI function

ShellExecuteEx ( SHELLEXECUTEINFO &lpExecInfo ) : bool
ShowFileProperties ( string Filename ) : bool
ThrowWin32ExceptionIfError ( uint retVal ) : void

Method Details

BindCertificate() public static method

public static BindCertificate ( IPEndPoint ipPort, byte hash, string storeName, System.Guid appId ) : void
ipPort System.Net.IPEndPoint
hash byte
storeName string
appId System.Guid
return void

BindSni() public static method

public static BindSni ( int>.Tuple binding, byte hash, string storeName, System.Guid appId ) : void
binding int>.Tuple
hash byte
storeName string
appId System.Guid
return void

DeleteCertificateBinding() public static method

public static DeleteCertificateBinding ( ) : void
return void

DeleteSniBinding() public static method

public static DeleteSniBinding ( ) : void
return void

QueryHttpNamespaceAcls() public static method

public static QueryHttpNamespaceAcls ( ) : HttpNamespaceAcl[]
return HttpNamespaceAcl[]

QuerySslCertificateInfo() public static method

public static QuerySslCertificateInfo ( IPEndPoint ipPort ) : SslCertificateInfo
ipPort System.Net.IPEndPoint
return SslCertificateInfo

QuerySslCertificateInfo() public static method

public static QuerySslCertificateInfo ( ) : SslCertificateInfo[]
return SslCertificateInfo[]

QuerySslSniInfo() public static method

public static QuerySslSniInfo ( int>.Tuple binding ) : SslSniInfo
binding int>.Tuple
return SslSniInfo

QuerySslSniInfo() public static method

public static QuerySslSniInfo ( ) : SslSniInfo[]
return SslSniInfo[]