diff --git a/src/bindings/csharp/Node.cs b/src/bindings/csharp/Node.cs index a631a54..5f02ff7 100644 --- a/src/bindings/csharp/Node.cs +++ b/src/bindings/csharp/Node.cs @@ -37,15 +37,15 @@ namespace ZeroTier.Core static int _versionRev; static bool _isOnline = false; static bool _hasBeenFreed = false; - string _configFilePath; - ushort _primaryPort; + static string _configFilePath; + static ushort _primaryPort; static ZeroTierManagedEventCallback _managedCallback; - CSharpCallbackWithStruct _unmanagedCallback; + static CSharpCallbackWithStruct _unmanagedCallback; - ConcurrentDictionary _networks = + static ConcurrentDictionary _networks = new ConcurrentDictionary(); - ConcurrentDictionary _peers = new ConcurrentDictionary(); + static ConcurrentDictionary _peers = new ConcurrentDictionary(); public Node() {