The Labs \ Source Viewer \ SSCLI \ System.Net.NetworkInformation \ IPGlobalProperties

  1. //------------------------------------------------------------------------------
  2. // <copyright file="stubs.cs" company="Microsoft">
  3. //
  4. // Copyright (c) 2006 Microsoft Corporation. All rights reserved.
  5. //
  6. // The use and distribution terms for this software are contained in the file
  7. // named license.txt, which can be found in the root of this distribution.
  8. // By using this software in any fashion, you are agreeing to be bound by the
  9. // terms of this license.
  10. //
  11. // You must not remove this notice, or any other, from this software.
  12. //
  13. // </copyright>
  14. //------------------------------------------------------------------------------
  15. namespace System.Net.NetworkInformation
  16. {
  17.    
  18.     internal abstract class IPGlobalProperties
  19.     {
  20.         static internal IPGlobalProperties InternalGetIPGlobalProperties()
  21.         {
  22.             return new SystemIPGlobalProperties();
  23.         }
  24.        
  25.         public abstract string DomainName {
  26.             get;
  27.         }
  28.     }
  29.    
  30.     internal class SystemIPGlobalProperties : IPGlobalProperties
  31.     {
  32.         public override string DomainName {
  33.             get { return NclUtilities._LocalDomainName; }
  34.         }
  35.     }
  36.    
  37. }
  38. namespace System.Security.Cryptography.X509Certificates
  39. {
  40.    
  41.     internal class X509Certificate
  42.     {
  43.     }
  44.    
  45. }

Developer Fusion