From 7796d3056727a6317d13d8a4b0ab8ccd3eea51a5 Mon Sep 17 00:00:00 2001 From: Sik Date: Tue, 30 Jul 2024 12:03:22 +0200 Subject: [PATCH] fix(doc): fixed exemples in readme --- System/README.md | 6 +++--- Web/README.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/System/README.md b/System/README.md index d7126f1..2467bc9 100644 --- a/System/README.md +++ b/System/README.md @@ -16,7 +16,7 @@ Install-Package FrApp42.System ### Check if device is online ```csharp -using namespace FrApp42.System.Net; +using FrApp42.System.Net; string address = "your-address"; string timeout = 5; @@ -29,7 +29,7 @@ bool isOnline = online.Check(); ### Shutdown through SMB (Windows Only) ```csharp -using namespace FrApp42.System.Computer.Shutdown; +using FrApp42.System.Computer.Shutdown; string hostname = "your-hostname"; @@ -46,7 +46,7 @@ ShutdownResult shutdownResult = await shutdown.Run(); ### Wake up a computer (WOL) ```csharp -using namespace FrApp42.System.Net; +using FrApp42.System.Net; string macAddress = "your-mac-address"; diff --git a/Web/README.md b/Web/README.md index 549db80..6edff7d 100644 --- a/Web/README.md +++ b/Web/README.md @@ -14,7 +14,7 @@ Install-Package FrApp42.Net ### Make an API request ```csharp -using namespace FrApp42.Web.API; +using FrApp42.Web.API; using System.Text.Json.Serialization; string url = "your-url";