mirror of
https://github.com/Stone-Red-Code/HyperbolicDownloader.git
synced 2026-09-08 23:41:05 +02:00
Add directory watcher functionality
This commit is contained in:
@@ -21,10 +21,12 @@ public class ApiManager
|
||||
public static IPAddress? PublicIpAddress => device?.GetExternalIPAsync().GetAwaiter().GetResult();
|
||||
public FilesManager FilesManager { get; } = new();
|
||||
public HostsManager HostsManager { get; } = new();
|
||||
public DirectoryWatcher DirectoryWatcher { get; }
|
||||
|
||||
public ApiManager()
|
||||
{
|
||||
networkClient = new(FilesManager);
|
||||
DirectoryWatcher = new(FilesManager);
|
||||
}
|
||||
|
||||
public static NetworkSocket? GetLocalSocket()
|
||||
|
||||
Reference in New Issue
Block a user