diff --git a/Net/Vanara.Net.csproj b/Net/Vanara.Net.csproj index d2174b5a1..5b63a0b98 100644 --- a/Net/Vanara.Net.csproj +++ b/Net/Vanara.Net.csproj @@ -6,7 +6,12 @@ Vanara.Net $(AssemblyName) vanara;net-extensions;networking - + Currently implements: + +Classes +DhcpClient, DnsService + + pkgreadme.md Vanara.Net diff --git a/Net/pkgreadme.md b/Net/pkgreadme.md index f6b3dc0ba..4169bfe36 100644 --- a/Net/pkgreadme.md +++ b/Net/pkgreadme.md @@ -1,9 +1,9 @@ ![Vanara](https://raw.githubusercontent.com/dahall/Vanara/master/docs/icons/VanaraHeading.png) -### **Vanara.Management NuGet Package** -[![Version](https://img.shields.io/nuget/v/Vanara.Management?label=NuGet&style=flat-square)](https://github.com/dahall/Vanara/releases) +### **Vanara.Net NuGet Package** +[![Version](https://img.shields.io/nuget/v/Vanara.Net?label=NuGet&style=flat-square)](https://github.com/dahall/Vanara/releases) [![Build status](https://img.shields.io/appveyor/build/dahall/vanara?label=AppVeyor%20build&style=flat-square)](https://ci.appveyor.com/project/dahall/vanara) -Extensions and helper classes for System.Management. +Abstracted classes around Win32 networking functions to provide simplified and object-oriented access to key networking capabilities like DNS, DHCP, filtering, access, and discovery. ### **What is Vanara?** @@ -14,8 +14,8 @@ Extensions and helper classes for System.Management. First check if it's already fixed by trying the [AppVeyor build](https://ci.appveyor.com/nuget/vanara-prerelease). If you're still running into problems, file an [issue](https://github.com/dahall/Vanara/issues). -### **Included in Vanara.Management** +### **Included in Vanara.Net** Classes --- -DynamicMgmtObject ManagementExtensions +DhcpClient DnsService diff --git a/Net/readme.md b/Net/readme.md index ac64ee9cd..5cfea9d76 100644 --- a/Net/readme.md +++ b/Net/readme.md @@ -1,7 +1,7 @@ -## Assembly report for Vanara.Management.dll -Extensions and helper classes for System.Management. +## Assembly report for Vanara.Net.dll +Abstracted classes around Win32 networking functions to provide simplified and object-oriented access to key networking capabilities like DNS, DHCP, filtering, access, and discovery. ### Classes Class | Description ---- | ---- -[Vanara.Management.DynamicMgmtObject](https://github.com/dahall/Vanara/search?l=C%23&q=DynamicMgmtObject) | A dynamic object to handle WMI `System.Management.ManagementBaseObject` references. -[Vanara.Management.ManagementExtensions](https://github.com/dahall/Vanara/search?l=C%23&q=ManagementExtensions) | Extension methods to work more easily with `System.Management`. +[Vanara.Net.DhcpClient](https://github.com/dahall/Vanara/search?l=C%23&q=DhcpClient) | Access to client functions related to DHCP +[Vanara.Net.DnsService](https://github.com/dahall/Vanara/search?l=C%23&q=DnsService) | Represents a DNS service diff --git a/PInvoke/Dhcp/pkgreadme.md b/PInvoke/Dhcp/pkgreadme.md index 937161023..082a1af7a 100644 --- a/PInvoke/Dhcp/pkgreadme.md +++ b/PInvoke/Dhcp/pkgreadme.md @@ -18,4 +18,4 @@ If you're still running into problems, file an [issue](https://github.com/dahall Functions | Enumerations | Structures --- | --- | --- -DhcpCApiCleanup DhcpCApiInitialize DhcpDeRegisterParamChange DhcpGetOriginalSubnetMask DhcpRegisterParamChange DhcpRemoveDNSRegistrations DhcpRequestParams DhcpUndoRequestParams Dhcpv6CApiCleanup Dhcpv6CApiInitialize Dhcpv6ReleasePrefix Dhcpv6RenewPrefix Dhcpv6RequestParams Dhcpv6RequestPrefix McastApiCleanup McastApiStartup McastEnumerateScopes McastGenUID McastReleaseAddress McastRenewAddress McastRequestAddress | DHCP_OPTION_ID DHCPCAPI_REQUEST DHCPV6_OPTION_ID StatusCode | DHCP_IP_ADDRESS DHCPAPI_PARAMS DHCPCAPI_CLASSID DHCPCAPI_PARAMS_ARRAY DHCPV6CAPI_CLASSID DHCPV6CAPI_PARAMS DHCPV6CAPI_PARAMS_ARRAY DHCPV6Prefix DHCPV6PrefixLeaseInformation IPNG_ADDRESS MCAST_CLIENT_UID MCAST_LEASE_REQUEST MCAST_LEASE_RESPONSE MCAST_SCOPE_CTX MCAST_SCOPE_ENTRY +DhcpCApiCleanup DhcpCApiInitialize DhcpDeRegisterParamChange DhcpGetOriginalSubnetMask DhcpRegisterParamChange DhcpRemoveDNSRegistrations DhcpRequestParams DhcpUndoRequestParams Dhcpv6CApiCleanup Dhcpv6CApiInitialize Dhcpv6ReleasePrefix Dhcpv6RenewPrefix Dhcpv6RequestParams Dhcpv6RequestPrefix McastApiCleanup McastApiStartup McastEnumerateScopes McastGenUID McastReleaseAddress McastRenewAddress McastRequestAddress | DHCP_OPTION_ID DHCPCAPI_REQUEST NetBIOSNodeType DhcpMessageType DHCPV6_OPTION_ID StatusCode | DHCP_IP_ADDRESS DHCPAPI_PARAMS DHCPCAPI_CLASSID DHCPCAPI_PARAMS_ARRAY DHCPV6CAPI_CLASSID DHCPV6CAPI_PARAMS DHCPV6CAPI_PARAMS_ARRAY DHCPV6Prefix DHCPV6PrefixLeaseInformation IPNG_ADDRESS MCAST_CLIENT_UID MCAST_LEASE_REQUEST MCAST_LEASE_RESPONSE MCAST_SCOPE_CTX MCAST_SCOPE_ENTRY diff --git a/PInvoke/Dhcp/readme.md b/PInvoke/Dhcp/readme.md index d97a730d0..4db633807 100644 --- a/PInvoke/Dhcp/readme.md +++ b/PInvoke/Dhcp/readme.md @@ -32,7 +32,9 @@ Native Enum | Header | Managed Enum --- | --- | --- [DHCP_OPTION_ID](https://www.google.com/search?num=5&q=DHCP_OPTION_ID+site%3Adocs.microsoft.com) | dhcpcsdk.h | [Vanara.PInvoke.Dhcp.DHCP_OPTION_ID](https://github.com/dahall/Vanara/search?l=C%23&q=DHCP_OPTION_ID) [DHCPCAPI_REQUEST](https://www.google.com/search?num=5&q=DHCPCAPI_REQUEST+site%3Adocs.microsoft.com) | dhcpcsdk.h | [Vanara.PInvoke.Dhcp.DHCPCAPI_REQUEST](https://github.com/dahall/Vanara/search?l=C%23&q=DHCPCAPI_REQUEST) +[DhcpMessageType](https://www.google.com/search?num=5&q=DhcpMessageType+site%3Adocs.microsoft.com) | | [Vanara.PInvoke.Dhcp.DhcpMessageType](https://github.com/dahall/Vanara/search?l=C%23&q=DhcpMessageType) [DHCPV6_OPTION_ID](https://www.google.com/search?num=5&q=DHCPV6_OPTION_ID+site%3Adocs.microsoft.com) | dhcpcsdk.h | [Vanara.PInvoke.Dhcp.DHCPV6_OPTION_ID](https://github.com/dahall/Vanara/search?l=C%23&q=DHCPV6_OPTION_ID) +[NetBIOSNodeType](https://www.google.com/search?num=5&q=NetBIOSNodeType+site%3Adocs.microsoft.com) | | [Vanara.PInvoke.Dhcp.NetBIOSNodeType](https://github.com/dahall/Vanara/search?l=C%23&q=NetBIOSNodeType) [StatusCode](https://www.google.com/search?num=5&q=StatusCode+site%3Adocs.microsoft.com) | dhcpv6csdk.h | [Vanara.PInvoke.Dhcp.StatusCode](https://github.com/dahall/Vanara/search?l=C%23&q=StatusCode) ### Structures Native Structure | Header | Managed Structure diff --git a/README.md b/README.md index 2ec9bf3e8..d0e96d746 100644 --- a/README.md +++ b/README.md @@ -139,6 +139,7 @@ Assembly |    NuGet Link    | Description [Vanara.BITS](https://github.com/dahall/Vanara/blob/master/BITS/readme.md) | [![Nuget](https://img.shields.io/nuget/v/Vanara.BITS?label=%20&logo=nuget&style=flat-square)![Nuget](https://img.shields.io/nuget/dt/Vanara.BITS?label=%20&style=flat-square)](https://www.nuget.org/packages/Vanara.BITS) | Complete .NET coverage of Windows BITS (Background Intelligent Transfer Service) functionality. Provides access to all library functions through Windows 11 and gracefully fails when new features are not available on older OS versions. [Vanara.Core](https://github.com/dahall/Vanara/blob/master/Core/readme.md) | [![Nuget](https://img.shields.io/nuget/v/Vanara.Core?label=%20&logo=nuget&style=flat-square)![Nuget](https://img.shields.io/nuget/dt/Vanara.Core?label=%20&style=flat-square)](https://www.nuget.org/packages/Vanara.Core) | This library includes shared methods, structures and constants for use throughout the Vanara assemblies. Think of it as windows.h with some useful extensions. It includes:
* Extension methods for working with enumerated types (enum), FILETIME, and method and property extractions via reflection
* Extension and helper methods to marshaling structures arrays and strings
* SafeHandle based classes for working with memory allocated via CoTaskMem, HGlobal, or Local calls that handles packing and extracting arrays, structures and raw memory
* Safe pinning of objects in memory
* Memory stream based on marshaled memory [Vanara.Management](https://github.com/dahall/Vanara/blob/master/Management/readme.md) | [![Nuget](https://img.shields.io/nuget/v/Vanara.Management?label=%20&logo=nuget&style=flat-square)![Nuget](https://img.shields.io/nuget/dt/Vanara.Management?label=%20&style=flat-square)](https://www.nuget.org/packages/Vanara.Management) | Extensions and helper classes for System.Management. +[Vanara.Net](https://github.com/dahall/Vanara/blob/master/Net/readme.md) | [![Nuget](https://img.shields.io/nuget/v/Vanara.Net?label=%20&logo=nuget&style=flat-square)![Nuget](https://img.shields.io/nuget/dt/Vanara.Net?label=%20&style=flat-square)](https://www.nuget.org/packages/Vanara.Net) | Abstracted classes around Win32 networking functions to provide simplified and object-oriented access to key networking capabilities like DNS, DHCP, filtering, access, and discovery. [Vanara.PInvoke.Shared](https://github.com/dahall/Vanara/blob/master/PInvoke/Shared/readme.md) | [![Nuget](https://img.shields.io/nuget/v/Vanara.PInvoke.Shared?label=%20&logo=nuget&style=flat-square)![Nuget](https://img.shields.io/nuget/dt/Vanara.PInvoke.Shared?label=%20&style=flat-square)](https://www.nuget.org/packages/Vanara.PInvoke.Shared) | Shared methods, structures and constants for use throughout the Vanara.PInvoke assemblies. Includes:
* IEnumerable helpers for COM enumerations
* Custom marshaler for CoTaskMem pointers
* Enhanced error results classes for HRESULT, Win32Error and NTStatus
* Standard windows.h macros (e.g. HIWORD, MAKELONG, etc.)
* Overlapped method wrapper
* Resource ID holder
* Shared structures and enums (see release notes) [Vanara.Security](https://github.com/dahall/Vanara/blob/master/Security/readme.md) | [![Nuget](https://img.shields.io/nuget/v/Vanara.Security?label=%20&logo=nuget&style=flat-square)![Nuget](https://img.shields.io/nuget/dt/Vanara.Security?label=%20&style=flat-square)](https://www.nuget.org/packages/Vanara.Security) | Classes for security related items derived from the Vanara PInvoke libraries. Includes extension methods for Active Directory and access control classes, methods for working with accounts, UAC, privileges, system access, impersonation and SIDs, and a full LSA wrapper. [Vanara.SystemServices](https://github.com/dahall/Vanara/blob/master/System/readme.md) | [![Nuget](https://img.shields.io/nuget/v/Vanara.SystemServices?label=%20&logo=nuget&style=flat-square)![Nuget](https://img.shields.io/nuget/dt/Vanara.SystemServices?label=%20&style=flat-square)](https://www.nuget.org/packages/Vanara.SystemServices) | Classes for system related items derived from the Vanara PInvoke libraries. Includes extensions for Process (privileges and elavation), FileInfo (compression info), Shared Network Drives and Devices, and ServiceController (SetStartType) that pull extended information through native API calls. diff --git a/System/readme.md b/System/readme.md index 3a6e39de7..b8aac20ef 100644 --- a/System/readme.md +++ b/System/readme.md @@ -79,8 +79,8 @@ Class | Description [Vanara.Security.AccessControl.ServiceControllerAuditRule](https://github.com/dahall/Vanara/search?l=C%23&q=ServiceControllerAuditRule) | Represents an abstraction of an access control entry (ACE) that defines an audit rule for a service. [Vanara.Extensions.ServiceControllerExtension](https://github.com/dahall/Vanara/search?l=C%23&q=ServiceControllerExtension) | Extension methods for `System.ServiceProcess.ServiceController`. [Vanara.Security.AccessControl.ServiceControllerSecurity](https://github.com/dahall/Vanara/search?l=C%23&q=ServiceControllerSecurity) | Represents the access control and audit security for a service. -[Vanara.Session](https://github.com/dahall/Vanara/search?l=C%23&q=Session) | -[Vanara.Sessions](https://github.com/dahall/Vanara/search?l=C%23&q=Sessions) | +[Vanara.Session](https://github.com/dahall/Vanara/search?l=C%23&q=Session) | Represents a Windows session. +[Vanara.Sessions](https://github.com/dahall/Vanara/search?l=C%23&q=Sessions) | A collection of Windows sessions for the specified target computer. [Vanara.ShareConnection](https://github.com/dahall/Vanara/search?l=C%23&q=ShareConnection) | Represents a connection to a shared device. [Vanara.SharedDevice](https://github.com/dahall/Vanara/search?l=C%23&q=SharedDevice) | Represents a shared device on a computer. [Vanara.SharedDevices](https://github.com/dahall/Vanara/search?l=C%23&q=SharedDevices) | Represents all the shared devices on a computers. diff --git a/Vanara.Library.nuspec b/Vanara.Library.nuspec index 3158198a5..5bc94fbd7 100644 --- a/Vanara.Library.nuspec +++ b/Vanara.Library.nuspec @@ -19,6 +19,7 @@ +