public static NetworkClass GetNetworkClass()
 {
     if (_instance == null)
     {
         lock (_syncLock)
         {
             if (_instance == null)
             {
                 _instance = new NetworkClass();
             }
         }
     }
     return(_instance);
 }
Exemple #2
0
 private API()
 {
     _network = NetworkClass.GetNetworkClass();
 }