## Vanara.PInvoke.UrlMon PInvoke API (methods, structures and constants imported from UrlMon.dll. - Includes methods from urlmon.dll - Current NuGet release: [![Nuget](https://img.shields.io/nuget/v/Vanara.PInvoke.UrlMon?logo=nuget&style=flat-square)![Nuget](https://img.shields.io/nuget/dt/Vanara.PInvoke.UrlMon?label=%20&style=flat-square)](https://www.nuget.org/packages/Vanara.PInvoke.UrlMon) ### Methods - 100% API coverage (49 of 49 functions) Native Method | Header | Managed Method --- | --- | --- [AsyncInstallDistributionUnit](https://www.google.com/search?num=5&q=AsyncInstallDistributionUnit+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.AsyncInstallDistributionUnit](https://github.com/dahall/Vanara/search?l=C%23&q=AsyncInstallDistributionUnit) [CoGetClassObjectFromURL](https://www.google.com/search?num=5&q=CoGetClassObjectFromURL+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.CoGetClassObjectFromURL](https://github.com/dahall/Vanara/search?l=C%23&q=CoGetClassObjectFromURL) [CoInternetCombineIUri](https://www.google.com/search?num=5&q=CoInternetCombineIUri+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.CoInternetCombineIUri](https://github.com/dahall/Vanara/search?l=C%23&q=CoInternetCombineIUri) [CoInternetCombineUrl](https://www.google.com/search?num=5&q=CoInternetCombineUrl+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.CoInternetCombineUrl](https://github.com/dahall/Vanara/search?l=C%23&q=CoInternetCombineUrl) [CoInternetCombineUrlEx](https://www.google.com/search?num=5&q=CoInternetCombineUrlEx+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.CoInternetCombineUrlEx](https://github.com/dahall/Vanara/search?l=C%23&q=CoInternetCombineUrlEx) [CoInternetCompareUrl](https://www.google.com/search?num=5&q=CoInternetCompareUrl+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.CoInternetCompareUrl](https://github.com/dahall/Vanara/search?l=C%23&q=CoInternetCompareUrl) [CoInternetGetSession](https://www.google.com/search?num=5&q=CoInternetGetSession+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.CoInternetGetSession](https://github.com/dahall/Vanara/search?l=C%23&q=CoInternetGetSession) [CoInternetParseIUri](https://www.google.com/search?num=5&q=CoInternetParseIUri+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.CoInternetParseIUri](https://github.com/dahall/Vanara/search?l=C%23&q=CoInternetParseIUri) [CoInternetParseUrl](https://www.google.com/search?num=5&q=CoInternetParseUrl+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.CoInternetParseUrl](https://github.com/dahall/Vanara/search?l=C%23&q=CoInternetParseUrl) [CoInternetQueryInfo](https://www.google.com/search?num=5&q=CoInternetQueryInfo+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.CoInternetQueryInfo](https://github.com/dahall/Vanara/search?l=C%23&q=CoInternetQueryInfo) [CompareSecurityIds](https://www.google.com/search?num=5&q=CompareSecurityIds+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.CompareSecurityIds](https://github.com/dahall/Vanara/search?l=C%23&q=CompareSecurityIds) [CompatFlagsFromClsid](https://www.google.com/search?num=5&q=CompatFlagsFromClsid+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.CompatFlagsFromClsid](https://github.com/dahall/Vanara/search?l=C%23&q=CompatFlagsFromClsid) [CopyBindInfo](https://www.google.com/search?num=5&q=CopyBindInfo+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.CopyBindInfo](https://github.com/dahall/Vanara/search?l=C%23&q=CopyBindInfo) [CopyStgMedium](https://www.google.com/search?num=5&q=CopyStgMedium+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.CopyStgMedium](https://github.com/dahall/Vanara/search?l=C%23&q=CopyStgMedium) [CreateAsyncBindCtx](https://www.google.com/search?num=5&q=CreateAsyncBindCtx+site%3Alearn.microsoft.com) | urlmon.h | [Vanara.PInvoke.UrlMon.CreateAsyncBindCtx](https://github.com/dahall/Vanara/search?l=C%23&q=CreateAsyncBindCtx) [CreateAsyncBindCtxEx](https://www.google.com/search?num=5&q=CreateAsyncBindCtxEx+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.CreateAsyncBindCtxEx](https://github.com/dahall/Vanara/search?l=C%23&q=CreateAsyncBindCtxEx) [CreateFormatEnumerator](https://www.google.com/search?num=5&q=CreateFormatEnumerator+site%3Alearn.microsoft.com) | urlmon.h | [Vanara.PInvoke.UrlMon.CreateFormatEnumerator](https://github.com/dahall/Vanara/search?l=C%23&q=CreateFormatEnumerator) [CreateIUriBuilder](https://www.google.com/search?num=5&q=CreateIUriBuilder+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.CreateIUriBuilder](https://github.com/dahall/Vanara/search?l=C%23&q=CreateIUriBuilder) [CreateUri](https://www.google.com/search?num=5&q=CreateUri+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.CreateUri](https://github.com/dahall/Vanara/search?l=C%23&q=CreateUri) [CreateUriFromMultiByteString](https://www.google.com/search?num=5&q=CreateUriFromMultiByteString+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.CreateUriFromMultiByteString](https://github.com/dahall/Vanara/search?l=C%23&q=CreateUriFromMultiByteString) [CreateUriWithFragment](https://www.google.com/search?num=5&q=CreateUriWithFragment+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.CreateUriWithFragment](https://github.com/dahall/Vanara/search?l=C%23&q=CreateUriWithFragment) [CreateURLMoniker](https://www.google.com/search?num=5&q=CreateURLMoniker+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.CreateURLMoniker](https://github.com/dahall/Vanara/search?l=C%23&q=CreateURLMoniker) [CreateURLMonikerEx](https://www.google.com/search?num=5&q=CreateURLMonikerEx+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.CreateURLMonikerEx](https://github.com/dahall/Vanara/search?l=C%23&q=CreateURLMonikerEx) [CreateURLMonikerEx2](https://www.google.com/search?num=5&q=CreateURLMonikerEx2+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.CreateURLMonikerEx2](https://github.com/dahall/Vanara/search?l=C%23&q=CreateURLMonikerEx2) [FaultInIEFeature](https://www.google.com/search?num=5&q=FaultInIEFeature+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.FaultInIEFeature](https://github.com/dahall/Vanara/search?l=C%23&q=FaultInIEFeature) [FindMediaType](https://www.google.com/search?num=5&q=FindMediaType+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.FindMediaType](https://github.com/dahall/Vanara/search?l=C%23&q=FindMediaType) [FindMediaTypeClass](https://www.google.com/search?num=5&q=FindMediaTypeClass+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.FindMediaTypeClass](https://github.com/dahall/Vanara/search?l=C%23&q=FindMediaTypeClass) [FindMimeFromData](https://www.google.com/search?num=5&q=FindMimeFromData+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.FindMimeFromData](https://github.com/dahall/Vanara/search?l=C%23&q=FindMimeFromData) [GetClassFileOrMime](https://www.google.com/search?num=5&q=GetClassFileOrMime+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.GetClassFileOrMime](https://github.com/dahall/Vanara/search?l=C%23&q=GetClassFileOrMime) [GetComponentIDFromCLSSPEC](https://www.google.com/search?num=5&q=GetComponentIDFromCLSSPEC+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.GetComponentIDFromCLSSPEC](https://github.com/dahall/Vanara/search?l=C%23&q=GetComponentIDFromCLSSPEC) [IEInstallScope](https://www.google.com/search?num=5&q=IEInstallScope+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.IEInstallScope](https://github.com/dahall/Vanara/search?l=C%23&q=IEInstallScope) [IsAsyncMoniker](https://www.google.com/search?num=5&q=IsAsyncMoniker+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.IsAsyncMoniker](https://github.com/dahall/Vanara/search?l=C%23&q=IsAsyncMoniker) [IsValidURL](https://www.google.com/search?num=5&q=IsValidURL+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.IsValidURL](https://github.com/dahall/Vanara/search?l=C%23&q=IsValidURL) [MkParseDisplayNameEx](https://www.google.com/search?num=5&q=MkParseDisplayNameEx+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.MkParseDisplayNameEx](https://github.com/dahall/Vanara/search?l=C%23&q=MkParseDisplayNameEx) [ObtainUserAgentString](https://www.google.com/search?num=5&q=ObtainUserAgentString+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.ObtainUserAgentString](https://github.com/dahall/Vanara/search?l=C%23&q=ObtainUserAgentString) [RegisterBindStatusCallback](https://www.google.com/search?num=5&q=RegisterBindStatusCallback+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.RegisterBindStatusCallback](https://github.com/dahall/Vanara/search?l=C%23&q=RegisterBindStatusCallback) [RegisterFormatEnumerator](https://www.google.com/search?num=5&q=RegisterFormatEnumerator+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.RegisterFormatEnumerator](https://github.com/dahall/Vanara/search?l=C%23&q=RegisterFormatEnumerator) [RegisterMediaTypeClass](https://www.google.com/search?num=5&q=RegisterMediaTypeClass+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.RegisterMediaTypeClass](https://github.com/dahall/Vanara/search?l=C%23&q=RegisterMediaTypeClass) [RegisterMediaTypes](https://www.google.com/search?num=5&q=RegisterMediaTypes+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.RegisterMediaTypes](https://github.com/dahall/Vanara/search?l=C%23&q=RegisterMediaTypes) [ReleaseBindInfo](https://www.google.com/search?num=5&q=ReleaseBindInfo+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.ReleaseBindInfo](https://github.com/dahall/Vanara/search?l=C%23&q=ReleaseBindInfo) [RevokeBindStatusCallback](https://www.google.com/search?num=5&q=RevokeBindStatusCallback+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.RevokeBindStatusCallback](https://github.com/dahall/Vanara/search?l=C%23&q=RevokeBindStatusCallback) [RevokeFormatEnumerator](https://www.google.com/search?num=5&q=RevokeFormatEnumerator+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.RevokeFormatEnumerator](https://github.com/dahall/Vanara/search?l=C%23&q=RevokeFormatEnumerator) [URLDownloadToCacheFile](https://www.google.com/search?num=5&q=URLDownloadToCacheFileA+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.URLDownloadToCacheFile](https://github.com/dahall/Vanara/search?l=C%23&q=URLDownloadToCacheFile) [URLDownloadToFile](https://www.google.com/search?num=5&q=URLDownloadToFileA+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.URLDownloadToFile](https://github.com/dahall/Vanara/search?l=C%23&q=URLDownloadToFile) [UrlMkGetSessionOption](https://www.google.com/search?num=5&q=UrlMkGetSessionOption+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.UrlMkGetSessionOption](https://github.com/dahall/Vanara/search?l=C%23&q=UrlMkGetSessionOption) [UrlMkSetSessionOption](https://www.google.com/search?num=5&q=UrlMkSetSessionOption+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.UrlMkSetSessionOption](https://github.com/dahall/Vanara/search?l=C%23&q=UrlMkSetSessionOption) [URLOpenBlockingStream](https://www.google.com/search?num=5&q=URLOpenBlockingStreamA+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.URLOpenBlockingStream](https://github.com/dahall/Vanara/search?l=C%23&q=URLOpenBlockingStream) [URLOpenPullStream](https://www.google.com/search?num=5&q=URLOpenPullStreamA+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.URLOpenPullStream](https://github.com/dahall/Vanara/search?l=C%23&q=URLOpenPullStream) [URLOpenStream](https://www.google.com/search?num=5&q=URLOpenStreamA+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.URLOpenStream](https://github.com/dahall/Vanara/search?l=C%23&q=URLOpenStream) ### Enumerations Native Enum | Header | Managed Enum --- | --- | --- [AUTHENTICATEF](https://www.google.com/search?num=5&q=AUTHENTICATEF+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.AUTHENTICATEF](https://github.com/dahall/Vanara/search?l=C%23&q=AUTHENTICATEF) [BINDF](https://www.google.com/search?num=5&q=BINDF+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.BINDF](https://github.com/dahall/Vanara/search?l=C%23&q=BINDF) [BINDSTATUS](https://www.google.com/search?num=5&q=BINDSTATUS+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.BINDSTATUS](https://github.com/dahall/Vanara/search?l=C%23&q=BINDSTATUS) [BSCF](https://www.google.com/search?num=5&q=BSCF+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.BSCF](https://github.com/dahall/Vanara/search?l=C%23&q=BSCF) [COMPAT](https://www.google.com/search?num=5&q=COMPAT+site%3Alearn.microsoft.com) | | [Vanara.PInvoke.UrlMon.COMPAT](https://github.com/dahall/Vanara/search?l=C%23&q=COMPAT) [FIEF_FLAG](https://www.google.com/search?num=5&q=FIEF_FLAG+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.FIEF_FLAG](https://github.com/dahall/Vanara/search?l=C%23&q=FIEF_FLAG) [FMFD](https://www.google.com/search?num=5&q=FMFD+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.FMFD](https://github.com/dahall/Vanara/search?l=C%23&q=FMFD) [PARSEACTION](https://www.google.com/search?num=5&q=PARSEACTION+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.PARSEACTION](https://github.com/dahall/Vanara/search?l=C%23&q=PARSEACTION) [QUERYOPTION](https://www.google.com/search?num=5&q=QUERYOPTION+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.QUERYOPTION](https://github.com/dahall/Vanara/search?l=C%23&q=QUERYOPTION) [Uri_CREATE](https://www.google.com/search?num=5&q=Uri_CREATE+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.Uri_CREATE](https://github.com/dahall/Vanara/search?l=C%23&q=Uri_CREATE) [Uri_DISPLAY](https://www.google.com/search?num=5&q=Uri_DISPLAY+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.Uri_DISPLAY](https://github.com/dahall/Vanara/search?l=C%23&q=Uri_DISPLAY) [Uri_ENCODING](https://www.google.com/search?num=5&q=Uri_ENCODING+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.Uri_ENCODING](https://github.com/dahall/Vanara/search?l=C%23&q=Uri_ENCODING) [Uri_HAS](https://www.google.com/search?num=5&q=Uri_HAS+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.Uri_HAS](https://github.com/dahall/Vanara/search?l=C%23&q=Uri_HAS) [Uri_HOST_TYPE](https://www.google.com/search?num=5&q=Uri_HOST_TYPE+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.Uri_HOST_TYPE](https://github.com/dahall/Vanara/search?l=C%23&q=Uri_HOST_TYPE) [Uri_PROPERTY](https://www.google.com/search?num=5&q=Uri_PROPERTY+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.Uri_PROPERTY](https://github.com/dahall/Vanara/search?l=C%23&q=Uri_PROPERTY) [URL_MK](https://www.google.com/search?num=5&q=URL_MK+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.URL_MK](https://github.com/dahall/Vanara/search?l=C%23&q=URL_MK) [URL_SCHEME](https://www.google.com/search?num=5&q=URL_SCHEME+site%3Alearn.microsoft.com) | shlwapi.h | [Vanara.PInvoke.UrlMon.URL_SCHEME](https://github.com/dahall/Vanara/search?l=C%23&q=URL_SCHEME) ### Structures Native Structure | Header | Managed Structure --- | --- | --- [AUTHENTICATEINFO](https://www.google.com/search?num=5&q=AUTHENTICATEINFO+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.AUTHENTICATEINFO](https://github.com/dahall/Vanara/search?l=C%23&q=AUTHENTICATEINFO) [BINDINFO](https://www.google.com/search?num=5&q=BINDINFO+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.BINDINFO](https://github.com/dahall/Vanara/search?l=C%23&q=BINDINFO) ### Interfaces Native Interface | Header | Managed Interface --- | --- | --- [IAuthenticate](https://www.google.com/search?num=5&q=IAuthenticate+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.IAuthenticate](https://github.com/dahall/Vanara/search?l=C%23&q=IAuthenticate) [IAuthenticateEx](https://www.google.com/search?num=5&q=IAuthenticateEx+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.IAuthenticateEx](https://github.com/dahall/Vanara/search?l=C%23&q=IAuthenticateEx) [IBindHost](https://www.google.com/search?num=5&q=IBindHost+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.IBindHost](https://github.com/dahall/Vanara/search?l=C%23&q=IBindHost) [IBinding](https://www.google.com/search?num=5&q=IBinding+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.IBinding](https://github.com/dahall/Vanara/search?l=C%23&q=IBinding) [IBindStatusCallback](https://www.google.com/search?num=5&q=IBindStatusCallback+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.IBindStatusCallback](https://github.com/dahall/Vanara/search?l=C%23&q=IBindStatusCallback) [IInternetSession](https://www.google.com/search?num=5&q=IInternetSession+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.IInternetSession](https://github.com/dahall/Vanara/search?l=C%23&q=IInternetSession) [IPersistMoniker](https://www.google.com/search?num=5&q=IPersistMoniker+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.IPersistMoniker](https://github.com/dahall/Vanara/search?l=C%23&q=IPersistMoniker) [IUri](https://www.google.com/search?num=5&q=IUri+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.IUri](https://github.com/dahall/Vanara/search?l=C%23&q=IUri) [IUriBuilder](https://www.google.com/search?num=5&q=IUriBuilder+site%3Alearn.microsoft.com) | Urlmon.h | [Vanara.PInvoke.UrlMon.IUriBuilder](https://github.com/dahall/Vanara/search?l=C%23&q=IUriBuilder)