mirror of
https://github.com/eRgo35/Server-Manager.git
synced 2026-02-04 03:16:10 +01:00
Official 1.0.0 Release
This commit is contained in:
@@ -12,19 +12,19 @@
|
||||
<userSettings>
|
||||
<Server_Manager.Properties.Settings>
|
||||
<setting name="IP" serializeAs="String">
|
||||
<value>192.168.0.250</value>
|
||||
<value>192.168.0.1</value>
|
||||
</setting>
|
||||
<setting name="Username" serializeAs="String">
|
||||
<value>domowy</value>
|
||||
<value>admin</value>
|
||||
</setting>
|
||||
<setting name="Password" serializeAs="String">
|
||||
<value>qaz</value>
|
||||
<value />
|
||||
</setting>
|
||||
<setting name="ShutdownCMD" serializeAs="String">
|
||||
<value>shutdown -s -t 0</value>
|
||||
<value />
|
||||
</setting>
|
||||
<setting name="MAC" serializeAs="String">
|
||||
<value>60-32-B1-D8-C7-A0</value>
|
||||
<value>00-00-00-00-00-00</value>
|
||||
</setting>
|
||||
<setting name="BroadcastIP" serializeAs="String">
|
||||
<value>192.168.0.255</value>
|
||||
|
||||
@@ -48,7 +48,7 @@ namespace Server_Manager
|
||||
|
||||
private void Main_Load(object sender, EventArgs e)
|
||||
{
|
||||
Auto_Ping.Start();
|
||||
// Auto_Ping.Start();
|
||||
|
||||
Thread pingTest = new Thread(() =>
|
||||
{
|
||||
@@ -142,8 +142,6 @@ namespace Server_Manager
|
||||
string Str_Port = Port.ToString("X");
|
||||
int Hex_Port = int.Parse(Str_Port , NumberStyles.HexNumber);
|
||||
|
||||
MessageBox.Show(Hex_IP.ToString());
|
||||
|
||||
WOLClass client = new WOLClass();
|
||||
client.Connect(new IPAddress(Hex_IP), Hex_Port);
|
||||
client.SetClientToBroadcastMode();
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -98,7 +98,7 @@ namespace Server_Manager
|
||||
|
||||
private void Button2_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
MessageBox.Show("Created by Michał Czyż\n\nCopyright(c) 2021 All Rights Reserved\n\nVersion: 1.0.0", "About Server Manager", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
MessageBox.Show("Created by Michał Czyż\n\nCopyright(c) 2021 CC-BY-SA\n\nVersion: 1.0.0", "About Server Manager", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
}
|
||||
|
||||
private void checkBox5_CheckedChanged(object sender, EventArgs e)
|
||||
|
||||
BIN
Server Manager/Icon.ico
Normal file
BIN
Server Manager/Icon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 98 KiB |
@@ -5,12 +5,12 @@ using System.Runtime.InteropServices;
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("Server Power Manager")]
|
||||
[assembly: AssemblyDescription("Turn on or Turn off your Server in LAN")]
|
||||
[assembly: AssemblyTitle("Server Manager")]
|
||||
[assembly: AssemblyDescription("Manage your server")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("Michał Czyż")]
|
||||
[assembly: AssemblyProduct("Server Power Manager")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2019")]
|
||||
[assembly: AssemblyProduct("Server Manager")]
|
||||
[assembly: AssemblyCopyright("Copyright(c) 2021 CC-BY-SA")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
|
||||
10
Server Manager/Properties/Settings.Designer.cs
generated
10
Server Manager/Properties/Settings.Designer.cs
generated
@@ -25,7 +25,7 @@ namespace Server_Manager.Properties {
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("192.168.0.250")]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("192.168.0.1")]
|
||||
public string IP {
|
||||
get {
|
||||
return ((string)(this["IP"]));
|
||||
@@ -37,7 +37,7 @@ namespace Server_Manager.Properties {
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("domowy")]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("admin")]
|
||||
public string Username {
|
||||
get {
|
||||
return ((string)(this["Username"]));
|
||||
@@ -49,7 +49,7 @@ namespace Server_Manager.Properties {
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("qaz")]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("")]
|
||||
public string Password {
|
||||
get {
|
||||
return ((string)(this["Password"]));
|
||||
@@ -61,7 +61,7 @@ namespace Server_Manager.Properties {
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("shutdown -s -t 0")]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("")]
|
||||
public string ShutdownCMD {
|
||||
get {
|
||||
return ((string)(this["ShutdownCMD"]));
|
||||
@@ -73,7 +73,7 @@ namespace Server_Manager.Properties {
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("60-32-B1-D8-C7-A0")]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("00-00-00-00-00-00")]
|
||||
public string MAC {
|
||||
get {
|
||||
return ((string)(this["MAC"]));
|
||||
|
||||
@@ -3,19 +3,19 @@
|
||||
<Profiles />
|
||||
<Settings>
|
||||
<Setting Name="IP" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">192.168.0.250</Value>
|
||||
<Value Profile="(Default)">192.168.0.1</Value>
|
||||
</Setting>
|
||||
<Setting Name="Username" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">domowy</Value>
|
||||
<Value Profile="(Default)">admin</Value>
|
||||
</Setting>
|
||||
<Setting Name="Password" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">qaz</Value>
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
<Setting Name="ShutdownCMD" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">shutdown -s -t 0</Value>
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
<Setting Name="MAC" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">60-32-B1-D8-C7-A0</Value>
|
||||
<Value Profile="(Default)">00-00-00-00-00-00</Value>
|
||||
</Setting>
|
||||
<Setting Name="BroadcastIP" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">192.168.0.255</Value>
|
||||
|
||||
@@ -23,9 +23,12 @@
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>10</ApplicationRevision>
|
||||
<ProductName>Server Manager</ProductName>
|
||||
<PublisherName>Michał Czyż</PublisherName>
|
||||
<ApplicationRevision>1</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<CreateDesktopShortcut>true</CreateDesktopShortcut>
|
||||
<PublishWizardCompleted>true</PublishWizardCompleted>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
@@ -49,7 +52,7 @@
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ApplicationIcon>if_network-workgroup_118928.ico</ApplicationIcon>
|
||||
<ApplicationIcon>Icon.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ManifestCertificateThumbprint>2E4750934B3C9E901CD24A427CFD87D3C6B667DC</ManifestCertificateThumbprint>
|
||||
@@ -63,10 +66,13 @@
|
||||
<PropertyGroup>
|
||||
<SignManifests>false</SignManifests>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<SignAssembly>false</SignAssembly>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<AssemblyOriginatorKeyFile>Michał Czyż.pfx</AssemblyOriginatorKeyFile>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Renci.SshNet, Version=2020.0.1.0, Culture=neutral, PublicKeyToken=1cee9f8bde3db106, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SSH.NET.2020.0.1\lib\net40\Renci.SshNet.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Core" />
|
||||
@@ -112,7 +118,7 @@
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
</Compile>
|
||||
<None Include="packages.config" />
|
||||
<None Include="Michał Czyż.pfx" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
@@ -139,7 +145,12 @@
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="if_network-workgroup_118928.ico" />
|
||||
<Content Include="Icon.ico" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="SSH.NET">
|
||||
<Version>2020.0.1</Version>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 110 KiB |
@@ -1,4 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="SSH.NET" version="2020.0.1" targetFramework="net472" />
|
||||
</packages>
|
||||
Reference in New Issue
Block a user