The Labs \ Source Viewer \ SSCLI \ System.Security.Cryptography \ RandomNumberGenerator

  1. // ==++==
  2. //
  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. //
  14. // ==--==
  15. //
  16. // RandomNumberGenerator.cs
  17. //
  18. namespace System.Security.Cryptography
  19. {
  20.     [System.Runtime.InteropServices.ComVisible(true)]
  21.     public abstract class RandomNumberGenerator
  22.     {
  23.         protected RandomNumberGenerator()
  24.         {
  25.         }
  26.        
  27.         //
  28.         // public methods
  29.         //
  30.        
  31.        
  32.         public abstract void GetBytes(byte[] data);
  33.        
  34.         public abstract void GetNonZeroBytes(byte[] data);
  35.     }
  36. }

Developer Fusion