Exemple #1
0
 public static SSWebClient Instance( )
 {
     // Unlikley that two threads will attempt to instance this singleton at the
     // same time, but we'll lock just in case.
     lock (s_InstanceLock) {
         if (s_Instance == null)
         {
             s_Instance = new SSWebClient( );
         }
         return(s_Instance);
     }
 }