From e74bb4bf1b9078f2bebb6fc7e2cac190fde39cb9 Mon Sep 17 00:00:00 2001 From: Marschall TM <36601278+Marschall-dev@users.noreply.github.com> Date: Sun, 6 Dec 2020 00:43:03 +0100 Subject: [PATCH 1/2] Update README.md --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 3022dcc..b49d86c 100644 --- a/README.md +++ b/README.md @@ -3,13 +3,13 @@ # DhcpDotNet -DHCP packet implemented with C#. Build DHCP-packages with nearly all possibilities. -DhcpDotNet allows the programming of a DHCP server or client with full controll. +DHCPv4 packet implemented with C#. Build DHCPv4-packages with nearly all possibilities. +DhcpDotNet allows the programming of a DHCPv4 server or client with full controll. -- Build DHCP Packets -- Sending DHCP Packets (via UdpClient, Socket (advanced: sharppcap or Pcap.Net) -- Receiving DHCP Packets (see sending) -- Parse incoming DHCP Packets +- Build DHCPv4 Packets +- Sending DHCPv4 Packets (via UdpClient, Socket (advanced: sharppcap or Pcap.Net) +- Receiving DHCPv4 Packets (see sending) +- Parse incoming DHCPv4 Packets - Read parsed Packets ## Become a contributor @@ -128,7 +128,7 @@ See the Examples folder for a range of examp A DHCPv4 server under C# will soon appear under the name DhcpSharp ## Usage -Example of a DHCP Discover package. The payload can be sent with a UdpClient or socket. +Example of a DHCPv4 Discover package. The payload can be sent with a UdpClient or socket. ```csharp Socket sock = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp); IPAddress serverAddr = IPAddress.Parse("192.168.2.1"); From 84df5c537b1c581785476ad6cbaf760fdf0ba3a2 Mon Sep 17 00:00:00 2001 From: Marschall TM <36601278+Marschall-dev@users.noreply.github.com> Date: Sun, 6 Dec 2020 00:47:34 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b49d86c..0e01471 100644 --- a/README.md +++ b/README.md @@ -155,19 +155,23 @@ Please take a look at the DhcpSharp-Project for detailed information. ## NuGet Package Manager ``` -PM> Install-Package DhcpDotNet -Version 2.0.1 +PM> Install-Package DhcpDotNet -Version 2.0.2 ``` .NET CLI ``` -> dotnet add package DhcpDotNet --version 2.0.1 +> dotnet add package DhcpDotNet --version 2.0.2 ``` NuGet-Page ## Latest Version and Changelog -Version: 2.0.1 +Version: 2.0.2 ``` +V 2.0.2 +- Renamed class and methods with "v4". Dhcp with IPv6 comming soon... + +V. 2.0.1 - Added dhcpOption parsing support. DhcpDotNet is now able to parse incoming DhcpPackets and their DhcpOptions. You can read each DhcpOption cotained in a DhcpPacket. This allows you to read all information provided by the options above listed. - Renamed DhcpPacket-Bytes. Each byte or byte-array in a DhcpPacket is now named as in the RFC 2132. - Added the possibility to define DhcpOptions with an enmu or single byte. This offers more flexibility and simplicity at the same time.