Skip to content

Commit

Permalink
fix(doc): fixed exemples in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sikelio committed Jul 30, 2024
1 parent c36d4b6 commit 7796d30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions System/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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";

Expand All @@ -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";

Expand Down
2 changes: 1 addition & 1 deletion Web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 7796d30

Please sign in to comment.