Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
INetworkMonitor - Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fsobolev committed Sep 27, 2023
1 parent e6e22d4 commit 49ca0c6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Nickvision.Aura/Network/INetworkMonitor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ internal interface INetworkMonitor : IDBusObject
internal class NetworkMonitorProperties
{
private uint _version = default(uint);

public uint Version
{
get
Expand All @@ -34,12 +35,12 @@ public uint Version

set
{
_version = (value);
_version = value;
}
}
}

internal static class NetworkMonitorExtensions
{
public static Task<uint> GetVersionAsync(this INetworkMonitor o) => o.GetAsync<uint>("version");
public static Task<uint> GetVersionAsync(this INetworkMonitor o) => await o.GetAsync<uint>("version");
}

0 comments on commit 49ca0c6

Please sign in to comment.