Skip to content

Commit

Permalink
Infrastructure Preparation 280
Browse files Browse the repository at this point in the history
  • Loading branch information
Taiizor committed Jun 9, 2024
1 parent c5876e4 commit 9ff5a30
Show file tree
Hide file tree
Showing 37 changed files with 78 additions and 38 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<ItemGroup>
<PackageReference Include="Skylark" Version="3.1.4.3" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.8" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.9" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<ItemGroup>
<PackageReference Include="Skylark" Version="3.1.4.3" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.8" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.9" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<ItemGroup>
<PackageReference Include="Skylark" Version="3.1.4.3" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.8" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.9" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<ItemGroup>
<PackageReference Include="Skylark" Version="3.1.4.3" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.8" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.9" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<ItemGroup>
<PackageReference Include="Skylark" Version="3.1.4.3" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.8" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.9" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<ItemGroup>
<PackageReference Include="Skylark" Version="3.1.4.3" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.8" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.9" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<ItemGroup>
<PackageReference Include="Skylark" Version="3.1.4.3" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.8" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.9" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<ItemGroup>
<PackageReference Include="Skylark" Version="3.1.4.3" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.8" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.9" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<ItemGroup>
<PackageReference Include="Skylark" Version="3.1.4.3" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.8" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.9" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<ItemGroup>
<PackageReference Include="Skylark" Version="3.1.4.3" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.8" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.9" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<ItemGroup>
<PackageReference Include="Skylark" Version="3.1.4.3" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.8" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.9" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<ItemGroup>
<PackageReference Include="Skylark" Version="3.1.4.3" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.8" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.9" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<ItemGroup>
<PackageReference Include="Skylark" Version="3.1.4.3" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.8" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.9" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<ItemGroup>
<PackageReference Include="Skylark" Version="3.1.4.3" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.8" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.9" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<ItemGroup>
<PackageReference Include="Skylark" Version="3.1.4.3" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.8" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.9" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<ItemGroup>
<PackageReference Include="Skylark" Version="3.1.4.3" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.8" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.9" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<ItemGroup>
<PackageReference Include="Skylark" Version="3.1.4.3" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.8" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.9" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<ItemGroup>
<PackageReference Include="Skylark" Version="3.1.4.3" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.8" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.9" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<ItemGroup>
<PackageReference Include="Skylark" Version="3.1.4.3" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.8" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.9" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<ItemGroup>
<PackageReference Include="Skylark" Version="3.1.4.3" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.8" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.9" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<ItemGroup>
<PackageReference Include="Skylark" Version="3.1.4.3" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.8" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.9" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<ItemGroup>
<PackageReference Include="Skylark" Version="3.1.4.3" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.8" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.9" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<ItemGroup>
<PackageReference Include="Skylark" Version="3.1.4.3" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.8" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.9" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<ItemGroup>
<PackageReference Include="Skylark" Version="3.1.4.3" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.8" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.9" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<ItemGroup>
<PackageReference Include="Skylark" Version="3.1.4.3" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.8" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.9" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<ItemGroup>
<PackageReference Include="Skylark" Version="3.1.4.3" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.8" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.9" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<ItemGroup>
<PackageReference Include="Skylark" Version="3.1.4.3" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.8" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.9" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<ItemGroup>
<PackageReference Include="Skylark" Version="3.1.4.3" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.8" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.9" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Skylark" Version="3.1.4.3" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.8" />
<PackageReference Include="Skylark.Standard" Version="3.1.5.9" />
<PackageReference Include="Skylark.Clipboard" Version="3.1.3.6" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion src/Jessica/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public static async Task Main()
{
Console.Write("Enter Address: ");

string Address = Console.ReadLine();
string Address = Console.ReadLine() ?? string.Empty;

Uptimer Uptiming = new(Address);

Expand Down
4 changes: 2 additions & 2 deletions src/Skylark.Standard/Extension/Ping/PingExtension.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
using System.Net.NetworkInformation;
using SE = Skylark.Exception;
using SHL = Skylark.Helper.Length;
using SSMPPM = Skylark.Standard.Manage.Ping.PingManage;
using SSPPSS = Skylark.Struct.Ping.PingSendStruct;
using SNNIP = System.Net.NetworkInformation.Ping;
using SNNIPO = System.Net.NetworkInformation.PingOptions;
using SSHPPH = Skylark.Standard.Helper.Ping.PingHelper;
using SSMPPM = Skylark.Standard.Manage.Ping.PingManage;
using SSPPSS = Skylark.Struct.Ping.PingSendStruct;

namespace Skylark.Standard.Extension.Ping
{
Expand Down
2 changes: 2 additions & 0 deletions src/Skylark.Standard/Extension/Port/PortExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using SE = Skylark.Exception;
using SEPT = Skylark.Enum.PortType;
using SHL = Skylark.Helper.Length;
using SSHPPH = Skylark.Standard.Helper.Port.PortHelper;
using SSMPPM = Skylark.Standard.Manage.Port.PortManage;

namespace Skylark.Standard.Extension.Port
Expand Down Expand Up @@ -106,6 +107,7 @@ public static SEPT Scan(string Address = SSMPPM.Address, int Port = SSMPPM.Port,
{
try
{
Address = SSHPPH.GetAddress(Address);
Address = SHL.Parameter(Address, SSMPPM.Address);
Port = SHL.Clamp(Port, SSMPPM.MinPort, SSMPPM.MaxPort);
Timeout = SHL.Clamp(Timeout, SSMPPM.MinTimeout, SSMPPM.MaxTimeout);
Expand Down
28 changes: 28 additions & 0 deletions src/Skylark.Standard/Helper/Port/PortHelper.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
namespace Skylark.Standard.Helper.Port
{
/// <summary>
///
/// </summary>
internal static class PortHelper
{
/// <summary>
///
/// </summary>
/// <param name="Address"></param>
/// <returns></returns>
public static string GetAddress(string Address)
{
if (Address.Contains("https://"))
{
Address = Address.Replace("https://", "");
}

if (Address.Contains("http://"))
{
Address = Address.Replace("http://", "");
}

return Address;
}
}
}
2 changes: 1 addition & 1 deletion src/Skylark.Standard/Skylark.Standard.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<PropertyGroup>
<ApplicationIcon>Resources\Skylark.Standard.ico</ApplicationIcon>
<Version>3.1.5.9</Version>
<Version>3.1.6.1</Version>
<AssemblyVersion>$(Version)</AssemblyVersion>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Title>Skylark.Standard</Title>
Expand Down
12 changes: 11 additions & 1 deletion src/Skylark.Uptime/Skylark.Uptime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
// Website: www.Vegalya.com
// Created: 27.Feb.2023
// Changed: 10.Jun.2024
// Version: 3.1.4.5
// Version: 3.1.4.6
//
// |---------DO-NOT-REMOVE---------|

Expand Down Expand Up @@ -57,6 +57,16 @@ public async Task<SSCCS> Certificate()
ReceiveTimeout = Timeout,
};

if (Address.Contains("https://"))
{
Address = Address.Replace("https://", "");
}

if (Address.Contains("http://"))
{
Address = Address.Replace("http://", "");
}

await Client.ConnectAsync(Address, 443);

using NetworkStream Network = Client.GetStream();
Expand Down
Loading

0 comments on commit 9ff5a30

Please sign in to comment.