Skip to main content
Argus.NET package icon

Argus.NET

v1.0.0Latest Stable
net6.0

This is the official C# dotnet (C# .Net) library for the ARGUS Engine, this library helps .NET developers and applications seamlessly integrate to the ARGUS Engine, authentication and event listening. ARGUS: Lightweight file/folder watcher for real-time notifications. Seamlessly integrates anywhere. Monitors file system changes allowing connected clients stay updated on changes within the watched files and directories. Leverages Go's concurrency and fsnotify for cross-platform support.

Published
Mar 27, 2024
2y ago
Total Downloads
882
882

Install

dotnet add package Argus.NET --version 1.0.0
ProductVersions
.NET
net6.0

README

ARGUS C# Dotnet Client

This is the official C# dotnet (C# .Net) library for the ARGUS Engine, this library helps .NET developers and applications seamlessly integrate to the ARGUS Engine, authentication and event listening.

Install the package

Ensure you have .NET 6+ installed.

Install via .NET CLI

    dotnet add package Argus.NET

Install via .NET CLI

    Install-Package Argus.NET

Usage -


    using Argus
    using Argus.Events

Using the package

    var argus = new ArgusClient(new ArgusConfig
    {
        Username = "testuser",
        Password = "testpassword",
        Host = "localhost",
        Port = 1337
    });

    argus.ArgusEventRaised += HandleArgusevent;

    argus.Connect();    


    static void HandleArgusevent(object sender, ArgusEventArgs e)
    {
        Console.WriteLine($"Received: {e.ArgusEvent.ActionDescription}");
    }

Call Disconnect to stop Argus client from listening, and dispose resources.


    argus.Disconnect();    

Note: Argus listens in the background, so it doesnt block the current running thread.

Changes from Previous Version

No structural changes between v0.1.0 and v1.0.0.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.