master
Harald Wolff 2019-04-23 12:59:40 +02:00
parent 042f4c60e2
commit e015275006
41 changed files with 11274 additions and 15 deletions

View File

@ -26,20 +26,18 @@ namespace skyspot
new IPv4(0);
DHCPServer dhcpServer = new DHCPServer();
if (dhcpServer.Interfaces.Length == 0)
dhcpServer.AddInterface(IPv4.Parse("10.118.200.254"));
dhcpServer.EnsureInterface(IPv4.Parse("10.119.1.1"));
dhcpServer.EnsureInterface(IPv4.Parse("10.119.0.52"));
dhcpServer.Interfaces[0].InterfaceAddress = IPv4.Parse("10.118.200.254");
dhcpServer.EnsurePool("default", IPv4.Parse("10.119.1.50"), IPv4.Parse("10.119.1.99"));
if (dhcpServer.IPPools.Length == 0)
foreach (DHCPServerInterface serverInterface in dhcpServer.Interfaces)
{
dhcpServer.AddPool(new IPPool("default", IPv4.Parse("10.118.200.50"), IPv4.Parse("10.118.200.99")));
}
if (dhcpServer.Interfaces[0].Pool == null)
{
dhcpServer.Interfaces[0].Pool = dhcpServer.IPPools[0];
dhcpServer.Commit(dhcpServer.Interfaces[0].Pool);
if (serverInterface.Pool == null)
{
serverInterface.Pool = dhcpServer.IPPools[0];
dhcpServer.Commit(serverInterface);
}
}
dhcpServer.Start();

Binary file not shown.

View File

@ -1514,7 +1514,7 @@
Converts the <see cref="T:System.Decimal"/> to its JSON string representation.
</summary>
<param name="value">The value to convert.</param>
<returns>A JSON string representation of the <see cref="T:System.SByte"/>.</returns>
<returns>A JSON string representation of the <see cref="T:System.Decimal"/>.</returns>
</member>
<member name="M:Newtonsoft.Json.JsonConvert.ToString(System.Guid)">
<summary>
@ -2162,6 +2162,12 @@
</summary>
<value>The member serialization.</value>
</member>
<member name="P:Newtonsoft.Json.JsonObjectAttribute.MissingMemberHandling">
<summary>
Gets or sets the missing member handling used when deserializing this object.
</summary>
<value>The missing member handling.</value>
</member>
<member name="P:Newtonsoft.Json.JsonObjectAttribute.ItemNullValueHandling">
<summary>
Gets or sets how the object's properties with null values are handled during serialization and deserialization.
@ -8103,6 +8109,13 @@
</summary>
<param name="token">The token to read from.</param>
</member>
<member name="M:Newtonsoft.Json.Linq.JTokenReader.#ctor(Newtonsoft.Json.Linq.JToken,System.String)">
<summary>
Initializes a new instance of the <see cref="T:Newtonsoft.Json.Linq.JTokenReader"/> class.
</summary>
<param name="token">The token to read from.</param>
<param name="initialPath">The initial path of the token. It is prepended to the returned <see cref="P:Newtonsoft.Json.Linq.JTokenReader.Path"/>.</param>
</member>
<member name="M:Newtonsoft.Json.Linq.JTokenReader.Read">
<summary>
Reads the next JSON token from the underlying <see cref="T:Newtonsoft.Json.Linq.JToken"/>.
@ -10199,6 +10212,13 @@
</summary>
<value>The converter.</value>
</member>
<member name="P:Newtonsoft.Json.Serialization.JsonContract.InternalConverter">
<summary>
Gets the internally resolved <see cref="T:Newtonsoft.Json.JsonConverter"/> for the contract's type.
This converter is used as a fallback converter when no other converter is resolved.
Setting <see cref="P:Newtonsoft.Json.Serialization.JsonContract.Converter"/> will always override this converter.
</summary>
</member>
<member name="P:Newtonsoft.Json.Serialization.JsonContract.OnDeserializedCallbacks">
<summary>
Gets or sets all methods called immediately after deserialization of the object.
@ -10344,6 +10364,12 @@
</summary>
<value>The member object serialization.</value>
</member>
<member name="P:Newtonsoft.Json.Serialization.JsonObjectContract.MissingMemberHandling">
<summary>
Gets or sets the missing member handling used when deserializing this object.
</summary>
<value>The missing member handling.</value>
</member>
<member name="P:Newtonsoft.Json.Serialization.JsonObjectContract.ItemRequired">
<summary>
Gets or sets a value that indicates whether the object's properties are required.
@ -10510,6 +10536,11 @@
</summary>
<value>A value indicating whether this <see cref="T:Newtonsoft.Json.Serialization.JsonProperty"/> is required.</value>
</member>
<member name="P:Newtonsoft.Json.Serialization.JsonProperty.IsRequiredSpecified">
<summary>
Gets a value indicating whether <see cref="P:Newtonsoft.Json.Serialization.JsonProperty.Required"/> has a value specified.
</summary>
</member>
<member name="P:Newtonsoft.Json.Serialization.JsonProperty.IsReference">
<summary>
Gets or sets a value indicating whether this property preserves object references.
@ -10760,6 +10791,26 @@
<param name="name">The property name to resolve.</param>
<returns>The resolved property name.</returns>
</member>
<member name="M:Newtonsoft.Json.Serialization.NamingStrategy.GetHashCode">
<summary>
Hash code calculation
</summary>
<returns></returns>
</member>
<member name="M:Newtonsoft.Json.Serialization.NamingStrategy.Equals(System.Object)">
<summary>
Object equality implementation
</summary>
<param name="obj"></param>
<returns></returns>
</member>
<member name="M:Newtonsoft.Json.Serialization.NamingStrategy.Equals(Newtonsoft.Json.Serialization.NamingStrategy)">
<summary>
Compare to another NamingStrategy
</summary>
<param name="other"></param>
<returns></returns>
</member>
<member name="T:Newtonsoft.Json.Serialization.ObjectConstructor`1">
<summary>
Represents a method that constructs an object.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
908aa52658b13933ddb762b76bedacd9788a3698
ce60d24a71dd934ca2a2af753a9fd2b0f42763f6

View File

@ -44,3 +44,26 @@
/Volumes/HOMES/haraldwolff/src/skyspot/skyspot/obj/x86/Debug/skyspot.pdb
/Volumes/HOMES/haraldwolff/src/skyspot/skyspot/bin/Debug/ln.dhcp.dll
/Volumes/HOMES/haraldwolff/src/skyspot/skyspot/bin/Debug/ln.dhcp.pdb
/home/haraldwolff/src/ln.skyspot/ln.skyspot/bin/Debug/skyspot.exe
/home/haraldwolff/src/ln.skyspot/ln.skyspot/bin/Debug/skyspot.pdb
/home/haraldwolff/src/ln.skyspot/ln.skyspot/bin/Debug/ln.dhcp.dll
/home/haraldwolff/src/ln.skyspot/ln.skyspot/bin/Debug/ln.http.dll
/home/haraldwolff/src/ln.skyspot/ln.skyspot/bin/Debug/ln.http.objects.dll
/home/haraldwolff/src/ln.skyspot/ln.skyspot/bin/Debug/ln.radius.dll
/home/haraldwolff/src/ln.skyspot/ln.skyspot/bin/Debug/ln.types.dll
/home/haraldwolff/src/ln.skyspot/ln.skyspot/bin/Debug/Newtonsoft.Json.dll
/home/haraldwolff/src/ln.skyspot/ln.skyspot/bin/Debug/sharp.logging.dll
/home/haraldwolff/src/ln.skyspot/ln.skyspot/bin/Debug/ln.templates.dll
/home/haraldwolff/src/ln.skyspot/ln.skyspot/bin/Debug/ln.http.pdb
/home/haraldwolff/src/ln.skyspot/ln.skyspot/bin/Debug/ln.http.objects.pdb
/home/haraldwolff/src/ln.skyspot/ln.skyspot/bin/Debug/sharp.logging.pdb
/home/haraldwolff/src/ln.skyspot/ln.skyspot/bin/Debug/ln.radius.pdb
/home/haraldwolff/src/ln.skyspot/ln.skyspot/bin/Debug/ln.types.pdb
/home/haraldwolff/src/ln.skyspot/ln.skyspot/bin/Debug/ln.dhcp.pdb
/home/haraldwolff/src/ln.skyspot/ln.skyspot/bin/Debug/Newtonsoft.Json.xml
/home/haraldwolff/src/ln.skyspot/ln.skyspot/bin/Debug/ln.templates.pdb
/home/haraldwolff/src/ln.skyspot/ln.skyspot/obj/x86/Debug/skyspot.csprojAssemblyReference.cache
/home/haraldwolff/src/ln.skyspot/ln.skyspot/obj/x86/Debug/skyspot.csproj.CoreCompileInputs.cache
/home/haraldwolff/src/ln.skyspot/ln.skyspot/obj/x86/Debug/skyspot.csproj.CopyComplete
/home/haraldwolff/src/ln.skyspot/ln.skyspot/obj/x86/Debug/skyspot.exe
/home/haraldwolff/src/ln.skyspot/ln.skyspot/obj/x86/Debug/skyspot.pdb

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
90cb82de5c66c985c4300357859c223e0bbc5e47

View File

@ -0,0 +1,14 @@
/home/haraldwolff/src/ln.skyspot/ln.skyspot/bin/Release/skyspot.exe
/home/haraldwolff/src/ln.skyspot/ln.skyspot/bin/Release/ln.dhcp.dll
/home/haraldwolff/src/ln.skyspot/ln.skyspot/bin/Release/ln.http.dll
/home/haraldwolff/src/ln.skyspot/ln.skyspot/bin/Release/ln.http.objects.dll
/home/haraldwolff/src/ln.skyspot/ln.skyspot/bin/Release/ln.radius.dll
/home/haraldwolff/src/ln.skyspot/ln.skyspot/bin/Release/ln.types.dll
/home/haraldwolff/src/ln.skyspot/ln.skyspot/bin/Release/Newtonsoft.Json.dll
/home/haraldwolff/src/ln.skyspot/ln.skyspot/bin/Release/sharp.logging.dll
/home/haraldwolff/src/ln.skyspot/ln.skyspot/bin/Release/ln.templates.dll
/home/haraldwolff/src/ln.skyspot/ln.skyspot/bin/Release/Newtonsoft.Json.xml
/home/haraldwolff/src/ln.skyspot/ln.skyspot/obj/x86/Release/skyspot.csprojAssemblyReference.cache
/home/haraldwolff/src/ln.skyspot/ln.skyspot/obj/x86/Release/skyspot.csproj.CoreCompileInputs.cache
/home/haraldwolff/src/ln.skyspot/ln.skyspot/obj/x86/Release/skyspot.csproj.CopyComplete
/home/haraldwolff/src/ln.skyspot/ln.skyspot/obj/x86/Release/skyspot.exe

Binary file not shown.

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="12.0.1" targetFramework="net47" />
<package id="Newtonsoft.Json" version="12.0.2" targetFramework="net47" />
</packages>

View File

@ -31,7 +31,7 @@
<ItemGroup>
<Reference Include="System" />
<Reference Include="Newtonsoft.Json">
<HintPath>..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath>..\packages\Newtonsoft.Json.12.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>