5 Commits
Author SHA1 Message Date
Christopher 6dc966f064 Zmiana wersji i ogólnie no 2021-02-05 20:07:48 +01:00
Christopher ae6fa2fcff Build 05.02.2021
Małe poprawki stylistyczne oraz w kodzie
Dodano Traceroute
2021-02-05 17:03:14 +01:00
Christopher ae59681bad Coś tam próbowałem, ok? 2020-12-17 14:49:32 +01:00
Christopher 807b99969a Update v1.0.1
Dodano "ping"
Zmieniono nazwę zestawu
2020-12-17 01:04:33 +01:00
ChristopherandGitHub 75f3356c05 Update README.md 2020-12-16 22:53:34 +01:00
47 changed files with 4729 additions and 67 deletions
@@ -1,5 +1,5 @@
namespace Narzędzie_diagnostyczne_karty_sieciowej
namespace NetworkInterface_Info
{
partial class Form1
{
@@ -37,17 +37,21 @@ namespace Narzędzie_diagnostyczne_karty_sieciowej
this.generujPlikTekstowyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.odświeżInformacjeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.czcionkaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.fontDialog1 = new System.Windows.Forms.FontDialog();
this.opcjeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.wkrótceToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.pingToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.tracerouteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.stworzonePrzezKrzysiekSiemvToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.fontDialog1 = new System.Windows.Forms.FontDialog();
this.menuStrip1.SuspendLayout();
this.SuspendLayout();
//
// textBox1
//
this.textBox1.BackColor = System.Drawing.Color.White;
this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.textBox1.Cursor = System.Windows.Forms.Cursors.Default;
this.textBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.textBox1.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.textBox1.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.textBox1.Location = new System.Drawing.Point(0, 24);
this.textBox1.Multiline = true;
this.textBox1.Name = "textBox1";
@@ -99,24 +103,28 @@ namespace Narzędzie_diagnostyczne_karty_sieciowej
this.czcionkaToolStripMenuItem.Text = "Czcionka";
this.czcionkaToolStripMenuItem.Click += new System.EventHandler(this.changeFont);
//
// fontDialog1
//
this.fontDialog1.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
//
// opcjeToolStripMenuItem
//
this.opcjeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.wkrótceToolStripMenuItem});
this.pingToolStripMenuItem,
this.tracerouteToolStripMenuItem});
this.opcjeToolStripMenuItem.Name = "opcjeToolStripMenuItem";
this.opcjeToolStripMenuItem.Size = new System.Drawing.Size(50, 20);
this.opcjeToolStripMenuItem.Text = "Opcje";
this.opcjeToolStripMenuItem.Size = new System.Drawing.Size(70, 20);
this.opcjeToolStripMenuItem.Text = "Narzędzia";
//
// wkrótceToolStripMenuItem
// pingToolStripMenuItem
//
this.wkrótceToolStripMenuItem.Enabled = false;
this.wkrótceToolStripMenuItem.Name = "wkrótceToolStripMenuItem";
this.wkrótceToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.wkrótceToolStripMenuItem.Text = "Wkrótce";
this.pingToolStripMenuItem.Name = "pingToolStripMenuItem";
this.pingToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.pingToolStripMenuItem.Text = "Ping";
this.pingToolStripMenuItem.Click += new System.EventHandler(this.pingToolStripMenuItem_Click);
//
// tracerouteToolStripMenuItem
//
this.tracerouteToolStripMenuItem.Name = "tracerouteToolStripMenuItem";
this.tracerouteToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.tracerouteToolStripMenuItem.Text = "Traceroute";
this.tracerouteToolStripMenuItem.Click += new System.EventHandler(this.tracerouteToolStripMenuItem_Click);
//
// stworzonePrzezKrzysiekSiemvToolStripMenuItem
//
@@ -126,6 +134,10 @@ namespace Narzędzie_diagnostyczne_karty_sieciowej
this.stworzonePrzezKrzysiekSiemvToolStripMenuItem.Text = "Stworzone przez KrzysiekSiemv";
this.stworzonePrzezKrzysiekSiemvToolStripMenuItem.Click += new System.EventHandler(this.stworzonePrzezKrzysiekSiemvToolStripMenuItem_Click);
//
// fontDialog1
//
this.fontDialog1.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@@ -136,7 +148,8 @@ namespace Narzędzie_diagnostyczne_karty_sieciowej
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MainMenuStrip = this.menuStrip1;
this.Name = "Form1";
this.Text = "NetworkInterfaces Diagnostic";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "NetworkInterfaces.Info";
this.Load += new System.EventHandler(this.onLoad);
this.SizeChanged += new System.EventHandler(this.Form1_SizeChanged);
this.menuStrip1.ResumeLayout(false);
@@ -156,8 +169,9 @@ namespace Narzędzie_diagnostyczne_karty_sieciowej
private System.Windows.Forms.ToolStripMenuItem czcionkaToolStripMenuItem;
private System.Windows.Forms.FontDialog fontDialog1;
private System.Windows.Forms.ToolStripMenuItem opcjeToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem wkrótceToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem stworzonePrzezKrzysiekSiemvToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem pingToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem tracerouteToolStripMenuItem;
}
}
@@ -13,7 +13,7 @@ using System.Net.NetworkInformation;
using System.Net.Sockets;
using System.Diagnostics;
namespace Narzędzie_diagnostyczne_karty_sieciowej
namespace NetworkInterface_Info
{
public partial class Form1 : Form
{
@@ -28,6 +28,12 @@ namespace Narzędzie_diagnostyczne_karty_sieciowej
IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties();
textBox1.Text = ("Informacje o ustawieniach karty sieciowej dla urządzenia \"" + properties.HostName + "\"" + Environment.NewLine + Environment.NewLine);
if (NetworkInterface.GetIsNetworkAvailable())
textBox1.Text += ("Połączenie z Internetem .. : Tak" + Environment.NewLine + Environment.NewLine);
else
textBox1.Text += ("Połączenie z Internetem .. : Nie" + Environment.NewLine + Environment.NewLine);
foreach (NetworkInterface adapter in networkInterfaces)
{
textBox1.Text += adapter.Description + Environment.NewLine;
@@ -89,6 +95,9 @@ namespace Narzędzie_diagnostyczne_karty_sieciowej
// NIE DOTYKAĆ, BO DZIAŁA
private void generate(object sender, EventArgs e)
{
IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties();
saveFileDialog1.FileName = "NetworkInterfaces Info " + properties.HostName + ".txt";
saveFileDialog1.Filter = "Plik tekstowy (*.txt)|*.txt|Wszystkie pliki (*.*)|*.*";
saveFileDialog1.FilterIndex = 1;
@@ -128,5 +137,17 @@ namespace Narzędzie_diagnostyczne_karty_sieciowej
{
Process.Start("https://github.com/KrzysiekSiemv");
}
private void pingToolStripMenuItem_Click(object sender, EventArgs e)
{
ping ping = new ping();
ping.Show();
}
private void tracerouteToolStripMenuItem_Click(object sender, EventArgs e)
{
traceroute traceroute = new traceroute();
traceroute.Show();
}
}
}
@@ -6,8 +6,8 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{95B9449A-F2A1-43CC-8A80-E078E5C9DE78}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>Narzędzie_diagnostyczne_karty_sieciowej</RootNamespace>
<AssemblyName>Narzędzie diagnostyczne karty sieciowej</AssemblyName>
<RootNamespace>NetworkInterface_Info</RootNamespace>
<AssemblyName>NetworkInterface.Info</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
@@ -57,11 +57,26 @@
<Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
</Compile>
<Compile Include="ping.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="ping.Designer.cs">
<DependentUpon>ping.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="traceroute.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="traceroute.Designer.cs">
<DependentUpon>traceroute.cs</DependentUpon>
</Compile>
<EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="ping.resx">
<DependentUpon>ping.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
@@ -70,7 +85,11 @@
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<EmbeddedResource Include="traceroute.resx">
<DependentUpon>traceroute.cs</DependentUpon>
</EmbeddedResource>
<None Include="packages.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
@@ -4,7 +4,7 @@ using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Narzędzie_diagnostyczne_karty_sieciowej
namespace NetworkInterface_Info
{
static class Program
{
@@ -5,12 +5,12 @@ using System.Runtime.InteropServices;
// Ogólne informacje o zestawie są kontrolowane poprzez następujący
// zestaw atrybutów. Zmień wartości tych atrybutów, aby zmodyfikować informacje
// powiązane z zestawem.
[assembly: AssemblyTitle("Narzędzie diagnostyczne karty sieciowej")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyTitle("NetworkInterface Info")]
[assembly: AssemblyDescription("Narzędzie do sprawdzania kart sieciowych")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Narzędzie diagnostyczne karty sieciowej")]
[assembly: AssemblyCopyright("Copyright © 2020")]
[assembly: AssemblyCompany("Krzysztof 'KrzysiekSiemv' Smaga")]
[assembly: AssemblyProduct("NetworkInterface Info")]
[assembly: AssemblyCopyright("Copyright © KrzysiekSiemv 2020")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// Możesz określić wszystkie wartości lub użyć domyślnych numerów kompilacji i poprawki
// przy użyciu symbolu „*”, tak jak pokazano poniżej:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.0.2.0")]
[assembly: AssemblyFileVersion("1.0.2.0")]
@@ -1,49 +1,45 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Ten kod został wygenerowany przez narzędzie.
// Wersja środowiska uruchomieniowego: 4.0.30319.42000
// Wersja wykonawcza:4.0.30319.42000
//
// Modyfikacje tego pliku mogą spowodować niewłaściwe zachowanie i zostaną utracone
// w przypadku ponownego wygenerowania kodu.
// Zmiany w tym pliku mogą spowodować nieprawidłowe zachowanie i zostaną utracone, jeśli
// kod zostanie ponownie wygenerowany.
// </auto-generated>
//------------------------------------------------------------------------------
namespace NetworkInterface_Info.Properties {
using System;
namespace Narzędzie_diagnostyczne_karty_sieciowej.Properties
{
/// <summary>
/// Silnie typizowana klasa zasobów do wyszukiwania zlokalizowanych ciągów itd.
/// Klasa zasobu wymagająca zdefiniowania typu do wyszukiwania zlokalizowanych ciągów itd.
/// </summary>
// Ta klasa została automatycznie wygenerowana za pomocą klasy StronglyTypedResourceBuilder
// przez narzędzie, takie jak ResGen lub Visual Studio.
// Aby dodać lub usunąć składowe, edytuj plik ResX, a następnie ponownie uruchom narzędzie ResGen
// z opcją /str lub ponownie skompiluj projekt programu VS.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
// Aby dodać lub usunąć składową, edytuj plik ResX, a następnie ponownie uruchom narzędzie ResGen
// z opcją /str lub ponownie utwórz projekt VS.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources
{
internal class Resources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources()
{
internal Resources() {
}
/// <summary>
/// Zwraca buforowane wystąpienie składnika ResourceManager używane przez tę klasę.
/// Zwraca buforowane wystąpienie ResourceManager używane przez tę klasę.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager
{
get
{
if ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Narzędzie_diagnostyczne_karty_sieciowej.Properties.Resources", typeof(Resources).Assembly);
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("NetworkInterface_Info.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
@@ -52,17 +48,14 @@ namespace Narzędzie_diagnostyczne_karty_sieciowej.Properties
/// <summary>
/// Przesłania właściwość CurrentUICulture bieżącego wątku dla wszystkich
/// przypadków przeszukiwania zasobów za pomocą tej silnie typizowanej klasy zasobów.
/// przypadków przeszukiwania zasobów za pomocą tej klasy zasobów wymagającej zdefiniowania typu.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture
{
get
{
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set
{
set {
resourceCulture = value;
}
}
@@ -8,7 +8,7 @@
// </auto-generated>
//------------------------------------------------------------------------------
namespace Narzędzie_diagnostyczne_karty_sieciowej.Properties {
namespace NetworkInterface_Info.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="Narzędzie_diagnostyczne_karty_sieciowej.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
<userSettings>
<Narzędzie_diagnostyczne_karty_sieciowej.Properties.Settings>
<setting name="font" serializeAs="String">
<value>Courier New, 8.25pt</value>
</setting>
<setting name="windowSize" serializeAs="String">
<value>612, 429</value>
</setting>
</Narzędzie_diagnostyczne_karty_sieciowej.Properties.Settings>
</userSettings>
</configuration>
@@ -1 +1 @@
94a38bd4208788cf2fb79dc6d8b7052e6b020e35
eeffeecb8b26103caf5715dd58889694cefb3cfb
@@ -11,3 +11,33 @@ C:\Users\Krzysiek\source\repos\Narzędzie diagnostyczne karty sieciowej\Narzędz
C:\Users\Krzysiek\source\repos\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\bin\Debug\System.ValueTuple.dll
C:\Users\Krzysiek\source\repos\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\bin\Debug\System.ValueTuple.xml
C:\Users\Krzysiek\source\repos\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\obj\Debug\Narzędzie diagnostyczne karty sieciowej.csproj.CopyComplete
C:\Users\Krzysiek\Documents\GitHub\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\bin\Debug\System.ValueTuple.dll
C:\Users\Krzysiek\Documents\GitHub\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\bin\Debug\System.ValueTuple.xml
C:\Users\Krzysiek\Documents\GitHub\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\obj\Debug\Narzędzie diagnostyczne karty sieciowej.csprojAssemblyReference.cache
C:\Users\Krzysiek\Documents\GitHub\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\obj\Debug\NetworkInterface_Info.Form1.resources
C:\Users\Krzysiek\Documents\GitHub\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\obj\Debug\NetworkInterface_Info.ping.resources
C:\Users\Krzysiek\Documents\GitHub\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\obj\Debug\NetworkInterface_Info.Properties.Resources.resources
C:\Users\Krzysiek\Documents\GitHub\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\obj\Debug\Narzędzie diagnostyczne karty sieciowej.csproj.GenerateResource.cache
C:\Users\Krzysiek\Documents\GitHub\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\obj\Debug\Narzędzie diagnostyczne karty sieciowej.csproj.CoreCompileInputs.cache
C:\Users\Krzysiek\Documents\GitHub\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\obj\Debug\Narzędzie diagnostyczne karty sieciowej.csproj.CopyComplete
C:\Users\Krzysiek\Documents\GitHub\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\obj\Debug\NetworkInterface_Info.traceroute.resources
D:\GitHub (krzysiek-smaga@outlook.com)\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\bin\Debug\NetworkInterface Info.exe.config
D:\GitHub (krzysiek-smaga@outlook.com)\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\bin\Debug\NetworkInterface Info.exe
D:\GitHub (krzysiek-smaga@outlook.com)\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\bin\Debug\NetworkInterface Info.pdb
D:\GitHub (krzysiek-smaga@outlook.com)\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\bin\Debug\System.ValueTuple.dll
D:\GitHub (krzysiek-smaga@outlook.com)\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\bin\Debug\System.ValueTuple.xml
D:\GitHub (krzysiek-smaga@outlook.com)\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\obj\Debug\Narzędzie diagnostyczne karty sieciowej.csprojAssemblyReference.cache
D:\GitHub (krzysiek-smaga@outlook.com)\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\obj\Debug\NetworkInterface_Info.Form1.resources
D:\GitHub (krzysiek-smaga@outlook.com)\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\obj\Debug\NetworkInterface_Info.ping.resources
D:\GitHub (krzysiek-smaga@outlook.com)\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\obj\Debug\NetworkInterface_Info.Properties.Resources.resources
D:\GitHub (krzysiek-smaga@outlook.com)\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\obj\Debug\NetworkInterface_Info.traceroute.resources
D:\GitHub (krzysiek-smaga@outlook.com)\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\obj\Debug\Narzędzie diagnostyczne karty sieciowej.csproj.GenerateResource.cache
D:\GitHub (krzysiek-smaga@outlook.com)\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\obj\Debug\Narzędzie diagnostyczne karty sieciowej.csproj.CoreCompileInputs.cache
D:\GitHub (krzysiek-smaga@outlook.com)\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\obj\Debug\Narzędzie diagnostyczne karty sieciowej.csproj.CopyComplete
D:\GitHub (krzysiek-smaga@outlook.com)\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\obj\Debug\NetworkInterface Info.exe
D:\GitHub (krzysiek-smaga@outlook.com)\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\obj\Debug\NetworkInterface Info.pdb
C:\Users\Krzysiek\Documents\GitHub\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\bin\Debug\NetworkInterface.Info.exe.config
C:\Users\Krzysiek\Documents\GitHub\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\bin\Debug\NetworkInterface.Info.exe
C:\Users\Krzysiek\Documents\GitHub\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\bin\Debug\NetworkInterface.Info.pdb
C:\Users\Krzysiek\Documents\GitHub\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\obj\Debug\NetworkInterface.Info.exe
C:\Users\Krzysiek\Documents\GitHub\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\obj\Debug\NetworkInterface.Info.pdb
@@ -1 +1 @@
6e6417f9f2fe5df8fcc2cca4937f1a894a7456c5
445d41d2e11ca2778137de8d88bd5f1fd9b21f3c
@@ -10,3 +10,17 @@ C:\Users\Krzysiek\source\repos\Narzędzie diagnostyczne karty sieciowej\Narzędz
C:\Users\Krzysiek\source\repos\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\obj\Release\Narzędzie diagnostyczne karty sieciowej.csproj.CopyComplete
C:\Users\Krzysiek\source\repos\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\obj\Release\Narzędzie diagnostyczne karty sieciowej.exe
C:\Users\Krzysiek\source\repos\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\obj\Release\Narzędzie diagnostyczne karty sieciowej.pdb
C:\Users\Krzysiek\Documents\GitHub\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\obj\Release\Narzędzie diagnostyczne karty sieciowej.csprojAssemblyReference.cache
C:\Users\Krzysiek\Documents\GitHub\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\obj\Release\NetworkInterface_Info.Form1.resources
C:\Users\Krzysiek\Documents\GitHub\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\obj\Release\NetworkInterface_Info.ping.resources
C:\Users\Krzysiek\Documents\GitHub\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\obj\Release\NetworkInterface_Info.Properties.Resources.resources
C:\Users\Krzysiek\Documents\GitHub\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\obj\Release\Narzędzie diagnostyczne karty sieciowej.csproj.GenerateResource.cache
C:\Users\Krzysiek\Documents\GitHub\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\obj\Release\Narzędzie diagnostyczne karty sieciowej.csproj.CoreCompileInputs.cache
C:\Users\Krzysiek\Documents\GitHub\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\bin\Release\NetworkInterface Info.exe.config
C:\Users\Krzysiek\Documents\GitHub\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\bin\Release\NetworkInterface Info.exe
C:\Users\Krzysiek\Documents\GitHub\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\bin\Release\NetworkInterface Info.pdb
C:\Users\Krzysiek\Documents\GitHub\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\bin\Release\System.ValueTuple.dll
C:\Users\Krzysiek\Documents\GitHub\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\bin\Release\System.ValueTuple.xml
C:\Users\Krzysiek\Documents\GitHub\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\obj\Release\Narzędzie diagnostyczne karty sieciowej.csproj.CopyComplete
C:\Users\Krzysiek\Documents\GitHub\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\obj\Release\NetworkInterface Info.exe
C:\Users\Krzysiek\Documents\GitHub\NetworkInterfaces-Info\Narzędzie diagnostyczne karty sieciowej\Narzędzie diagnostyczne karty sieciowej\obj\Release\NetworkInterface Info.pdb
@@ -0,0 +1,208 @@
namespace NetworkInterface_Info
{
partial class ping
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ping));
this.panel1 = new System.Windows.Forms.Panel();
this.button3 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.label3 = new System.Windows.Forms.Label();
this.miliseconds = new System.Windows.Forms.NumericUpDown();
this.label2 = new System.Windows.Forms.Label();
this.server = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.textBox1 = new System.Windows.Forms.TextBox();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.miliseconds)).BeginInit();
this.SuspendLayout();
//
// panel1
//
this.panel1.Controls.Add(this.button3);
this.panel1.Controls.Add(this.button2);
this.panel1.Controls.Add(this.button1);
this.panel1.Controls.Add(this.label3);
this.panel1.Controls.Add(this.miliseconds);
this.panel1.Controls.Add(this.label2);
this.panel1.Controls.Add(this.server);
this.panel1.Controls.Add(this.label1);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.MaximumSize = new System.Drawing.Size(544, 70);
this.panel1.MinimumSize = new System.Drawing.Size(544, 70);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(544, 70);
this.panel1.TabIndex = 0;
//
// button3
//
this.button3.Location = new System.Drawing.Point(453, 38);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(81, 23);
this.button3.TabIndex = 9;
this.button3.Text = "Wyczyść";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.clearIt);
//
// button2
//
this.button2.Location = new System.Drawing.Point(366, 38);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(81, 23);
this.button2.TabIndex = 8;
this.button2.Text = "Stop";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.stopPing);
//
// button1
//
this.button1.Location = new System.Drawing.Point(366, 12);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(168, 23);
this.button1.TabIndex = 5;
this.button1.Text = "Pinguj!";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.startPing);
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(262, 40);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(20, 13);
this.label3.TabIndex = 4;
this.label3.Text = "ms";
//
// miliseconds
//
this.miliseconds.Location = new System.Drawing.Point(173, 38);
this.miliseconds.Maximum = new decimal(new int[] {
100000,
0,
0,
0});
this.miliseconds.Minimum = new decimal(new int[] {
1,
0,
0,
0});
this.miliseconds.Name = "miliseconds";
this.miliseconds.Size = new System.Drawing.Size(83, 20);
this.miliseconds.TabIndex = 3;
this.miliseconds.Value = new decimal(new int[] {
10000,
0,
0,
0});
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(12, 40);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(155, 13);
this.label2.TabIndex = 2;
this.label2.Text = "Maksymalny czas oczekiwania:";
//
// server
//
this.server.Location = new System.Drawing.Point(173, 12);
this.server.Name = "server";
this.server.Size = new System.Drawing.Size(109, 20);
this.server.TabIndex = 1;
this.server.Text = "onet.pl";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(36, 15);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(131, 13);
this.label1.TabIndex = 0;
this.label1.Text = "Cel (domena lub adres IP):";
//
// textBox1
//
this.textBox1.BackColor = System.Drawing.Color.White;
this.textBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.textBox1.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.textBox1.Location = new System.Drawing.Point(0, 70);
this.textBox1.Multiline = true;
this.textBox1.Name = "textBox1";
this.textBox1.ReadOnly = true;
this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Both;
this.textBox1.Size = new System.Drawing.Size(544, 381);
this.textBox1.TabIndex = 1;
//
// timer1
//
this.timer1.Tick += new System.EventHandler(this.pingIt);
//
// ping
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(544, 451);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.panel1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MinimizeBox = false;
this.MinimumSize = new System.Drawing.Size(560, 490);
this.Name = "ping";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Ping - NetworkInterfaces.Info";
this.Load += new System.EventHandler(this.onLoad);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.miliseconds)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.NumericUpDown miliseconds;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox server;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Timer timer1;
}
}
@@ -0,0 +1,71 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Net.NetworkInformation;
using System.Net;
namespace NetworkInterface_Info
{
public partial class ping : Form
{
public ping()
{
InitializeComponent();
}
private void pingIt(object sender, EventArgs e)
{
Ping pingSender = new Ping();
string data = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
byte[] buffer = Encoding.ASCII.GetBytes(data);
PingOptions options = new PingOptions(64, true);
PingReply pingReply = pingSender.Send(server.Text, Convert.ToInt32(miliseconds.Value), buffer, options);
if (pingReply.Status == IPStatus.Success)
textBox1.Text += pingReply.Buffer.Length + " bajtów od " + server.Text + " (" + pingReply.Address + "): ttl=" + pingReply.Options.Ttl + " czas=" + pingReply.RoundtripTime + " ms" + Environment.NewLine;
else
{
textBox1.Text = "PING " + server.Text + " nie powiódł się. Status: " + pingReply.Status;
}
System.Threading.Thread.Sleep(1000);
}
private void startPing(object sender, EventArgs e)
{
textBox1.Text = "PING " + server.Text + Environment.NewLine;
timer1.Start();
button1.Enabled = false;
button2.Enabled = true;
button3.Enabled = false;
}
private void stopPing(object sender, EventArgs e)
{
timer1.Stop();
button1.Enabled = true;
button2.Enabled = false;
button3.Enabled = true;
}
private void clearIt(object sender, EventArgs e)
{
textBox1.Text = "";
button3.Enabled = false;
}
private void onLoad(object sender, EventArgs e)
{
button2.Enabled = false;
button3.Enabled = false;
}
}
}
@@ -0,0 +1,181 @@
namespace NetworkInterface_Info
{
partial class traceroute
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(traceroute));
this.panel1 = new System.Windows.Forms.Panel();
this.clearText = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.destination = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.outputText = new System.Windows.Forms.RichTextBox();
this.dontShowHostnames = new System.Windows.Forms.CheckBox();
this.label2 = new System.Windows.Forms.Label();
this.maxHops = new System.Windows.Forms.NumericUpDown();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.maxHops)).BeginInit();
this.SuspendLayout();
//
// panel1
//
this.panel1.Controls.Add(this.maxHops);
this.panel1.Controls.Add(this.label2);
this.panel1.Controls.Add(this.dontShowHostnames);
this.panel1.Controls.Add(this.clearText);
this.panel1.Controls.Add(this.button1);
this.panel1.Controls.Add(this.destination);
this.panel1.Controls.Add(this.label1);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(544, 91);
this.panel1.TabIndex = 2;
//
// clearText
//
this.clearText.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.clearText.Location = new System.Drawing.Point(364, 51);
this.clearText.Name = "clearText";
this.clearText.Size = new System.Drawing.Size(168, 23);
this.clearText.TabIndex = 9;
this.clearText.Text = "Wyczyść";
this.clearText.UseVisualStyleBackColor = true;
this.clearText.Click += new System.EventHandler(this.clearText_Click);
//
// button1
//
this.button1.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.button1.Location = new System.Drawing.Point(364, 22);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(168, 23);
this.button1.TabIndex = 5;
this.button1.Text = "Śledź!";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.startTracing);
//
// destination
//
this.destination.Location = new System.Drawing.Point(174, 14);
this.destination.Name = "destination";
this.destination.Size = new System.Drawing.Size(114, 20);
this.destination.TabIndex = 1;
this.destination.Text = "onet.pl";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(33, 17);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(131, 13);
this.label1.TabIndex = 0;
this.label1.Text = "Cel (domena lub adres IP):";
//
// outputText
//
this.outputText.BackColor = System.Drawing.Color.White;
this.outputText.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.outputText.Dock = System.Windows.Forms.DockStyle.Fill;
this.outputText.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.outputText.Location = new System.Drawing.Point(0, 91);
this.outputText.Name = "outputText";
this.outputText.ReadOnly = true;
this.outputText.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.ForcedVertical;
this.outputText.Size = new System.Drawing.Size(544, 360);
this.outputText.TabIndex = 3;
this.outputText.Text = "";
//
// dontShowHostnames
//
this.dontShowHostnames.AutoSize = true;
this.dontShowHostnames.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
this.dontShowHostnames.Location = new System.Drawing.Point(36, 40);
this.dontShowHostnames.Name = "dontShowHostnames";
this.dontShowHostnames.Size = new System.Drawing.Size(152, 17);
this.dontShowHostnames.TabIndex = 10;
this.dontShowHostnames.Text = "Nie pokazuj nazwy hostów";
this.dontShowHostnames.UseVisualStyleBackColor = true;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(9, 65);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(159, 13);
this.label2.TabIndex = 11;
this.label2.Text = "Maksymalna liczba przeskoków:";
//
// maxHops
//
this.maxHops.Location = new System.Drawing.Point(174, 63);
this.maxHops.Name = "maxHops";
this.maxHops.Size = new System.Drawing.Size(89, 20);
this.maxHops.TabIndex = 12;
this.maxHops.Value = new decimal(new int[] {
30,
0,
0,
0});
//
// traceroute
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(544, 451);
this.Controls.Add(this.outputText);
this.Controls.Add(this.panel1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MinimizeBox = false;
this.MinimumSize = new System.Drawing.Size(560, 490);
this.Name = "traceroute";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Trace Route - NetworkInterfaces.Info";
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.maxHops)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Button clearText;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.TextBox destination;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Timer timer1;
private System.Windows.Forms.RichTextBox outputText;
private System.Windows.Forms.CheckBox dontShowHostnames;
private System.Windows.Forms.NumericUpDown maxHops;
private System.Windows.Forms.Label label2;
}
}
@@ -0,0 +1,57 @@
using System;
using System.Windows.Forms;
using System.Threading;
using System.Diagnostics;
namespace NetworkInterface_Info
{
public partial class traceroute : Form
{
Thread thread;
Process process;
public traceroute() { InitializeComponent(); }
private void startTracing(object sender, EventArgs e) { TraceIt(destination.Text, dontShowHostnames.Checked); }
private void clearText_Click(object sender, EventArgs e) { outputText.Text = ""; }
public void TraceIt(string url, bool dontShowHostnames)
{
outputText.Text = "";
string arguments;
if (!dontShowHostnames)
arguments = "-h " + Convert.ToString(maxHops.Value) + " " + url;
else
arguments = "-d -h " + Convert.ToString(maxHops.Value) + " " + url;
process = new Process
{
StartInfo = new ProcessStartInfo
{
FileName = "TRACERT.exe",
Arguments = arguments,
CreateNoWindow = true,
UseShellExecute = false,
RedirectStandardOutput = true
}
};
thread = new Thread(() => {
process.Start();
while (!process.StandardOutput.EndOfStream)
{
string line = process.StandardOutput.ReadLine();
BeginInvoke(new Action(() => {
outputText.Text += line + Environment.NewLine;
}));
}
process.WaitForExit();
});
thread.Start();
}
}
}
+8 -1
View File
@@ -1,2 +1,9 @@
# NetworkInterfaces-Info
Program służący do pokazywania informacji dot. kart sieciowych. W póżniejszym czasie program ten będzie mógł zarządzać kartami sieciowymi oraz będzie mógł naprawiać typowe problemy z kartą sieciową.
Program służący do pokazywania informacji dot. kart sieciowych. W póżniejszym czasie program ten będzie mógł zarządzać kartami sieciowymi oraz będzie mógł naprawiać typowe problemy z kartą sieciową.<br>
Wymagany <a href="https://www.microsoft.com/pl-pl/download/details.aspx?id=30653">.NET Framework 4.5</a>
Przejdź do pobierania NetworkInterfaces-Info<br>
### <a href="https://github.com/KrzysiekSiemv/NetworkInterfaces-Info/releases/tag/1.0.0">Releases</a>
<br>
Screen programu w wersji 1.0.0<br>
<img src="https://i.imgur.com/8FGGs6b.png" />