Skip to main content
net10.0-windows7.0.NETFramework4.8net5.0net6.0net7.0net8.0-windows7.0

PInvoke API (methods, structures and constants) imported from Windows Drt.dll for the Distributed Routing Table (DRT) API.

Published
Aug 15, 2026
2mo ago
Total Downloads
48.9K
48,880

Install

dotnet add package Vanara.PInvoke.Drt --version 5.0.7
ProductVersions
.NET
net10.0-windows7.0net5.0net6.0net7.0net8.0-windows7.0net9.0-windows7.0
.NET Standard
netstandard2.0netstandard2.1
Other
.NETCoreApp3.1.NETFramework4.8

README

Vanara

Vanara.PInvoke.Drt NuGet Package

Version Build status

PInvoke API (methods, structures and constants) imported from Windows Drt.dll for the Distributed Routing Table (DRT) API.

What is Vanara?

Vanara is a community project that contains various .NET assemblies which have P/Invoke functions, interfaces, enums and structures from Windows libraries. Each assembly is associated with one or a few tightly related libraries.

Issues?

First check if it's already fixed by trying the MyGet build. If you're still running into problems, file an issue.

Included in Vanara.PInvoke.Drt

Functions Enumerations Structures
DrtClose
DrtContinueSearch
DrtCreateDerivedKey
DrtCreateDerivedKeySecurityProvider
DrtCreateDnsBootstrapResolver
DrtCreateIpv6UdpTransport
DrtCreateNullSecurityProvider
DrtCreatePnrpBootstrapResolver
DrtDeleteDerivedKeySecurityProvider
DrtDeleteDnsBootstrapResolver
DrtDeleteIpv6UdpTransport
DrtDeleteNullSecurityProvider
DrtDeletePnrpBootstrapResolver
DrtEndSearch
DrtGetEventData
DrtGetEventDataSize
DrtGetInstanceName
DrtGetInstanceNameSize
DrtGetSearchPath
DrtGetSearchPathSize
DrtGetSearchResult
DrtGetSearchResultSize
DrtOpen
DrtRegisterKey
DrtStartSearch
DrtUnregisterKey
DrtUpdateKey
DRT_ADDRESS_FLAGS
DRT_EVENT_TYPE
DRT_LEAFSET_KEY_CHANGE_TYPE
DRT_MATCH_TYPE
DRT_REGISTRATION_STATE
DRT_SCOPE
DRT_SECURITY_MODE
DRT_STATUS

| DRT_ADDRESS
DRT_ADDRESS_LIST
DRT_BOOTSTRAP_PROVIDER
DRT_DATA
DRT_EVENT_DATA
DRT_REGISTRATION
DRT_SEARCH_INFO
DRT_SEARCH_RESULT
DRT_SECURITY_PROVIDER
DRT_SETTINGS
DRT_BOOTSTRAP_RESOLVE_CONTEXT
HDRT
HDRT_REGISTRATION_CONTEXT
HDRT_SEARCH_CONTEXT
HDRT_TRANSPORT
UNION
LEAFSETKEYCHANGE
REGISTRATIONSTATECHANGE
STATUSCHANGE
BOOTSTRAPADDRESSES

Changes from Previous Version

No structural changes between v5.0.6 and v5.0.7.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

Compatibility metadata lists 10 target frameworks; confirm the exact target used by your application.The published metadata declares 42 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.