Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / clr / src / BCL / System / Security / Cryptography / RandomNumberGenerator.cs / 1 / RandomNumberGenerator.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== // // RandomNumberGenerator.cs // namespace System.Security.Cryptography { [System.Runtime.InteropServices.ComVisible(true)] public abstract class RandomNumberGenerator { protected RandomNumberGenerator() { } // // public methods // #if !FEATURE_PAL static public RandomNumberGenerator Create() { return Create("System.Security.Cryptography.RandomNumberGenerator"); } static public RandomNumberGenerator Create(String rngName) { return (RandomNumberGenerator) CryptoConfig.CreateFromName(rngName); } #endif public abstract void GetBytes(byte[] data); public abstract void GetNonZeroBytes(byte[] data); } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DirectionalLight.cs
- Figure.cs
- TableRow.cs
- DelegateArgument.cs
- Viewport3DAutomationPeer.cs
- FrameDimension.cs
- CurrencyWrapper.cs
- ParameterCollection.cs
- ServiceEndpointCollection.cs
- UnsafeNativeMethodsPenimc.cs
- MessageQueueInstaller.cs
- KnownTypes.cs
- PeerMaintainer.cs
- FacetChecker.cs
- TextSelectionHighlightLayer.cs
- BulletDecorator.cs
- SecondaryViewProvider.cs
- UnsafeNativeMethodsPenimc.cs
- SecureUICommand.cs
- PeerResolver.cs
- QueryCreatedEventArgs.cs
- SignatureHelper.cs
- TreeNodeCollection.cs
- NestedContainer.cs
- ManagedCodeMarkers.cs
- SamlDelegatingWriter.cs
- Ipv6Element.cs
- CreateSequenceResponse.cs
- SchemaDeclBase.cs
- DetailsViewCommandEventArgs.cs
- DateTimeUtil.cs
- RectangleHotSpot.cs
- Int32CAMarshaler.cs
- ProxyHelper.cs
- WasEndpointConfigContainer.cs
- CollectionViewGroupRoot.cs
- ChannelServices.cs
- _NetworkingPerfCounters.cs
- ColumnMapVisitor.cs
- BCLDebug.cs
- ConnectionConsumerAttribute.cs
- RegistryExceptionHelper.cs
- EntityDesignerUtils.cs
- DataService.cs
- PartialCachingAttribute.cs
- WindowsTitleBar.cs
- DataGridViewCellValueEventArgs.cs
- InfoCardClaim.cs
- SourceFileBuildProvider.cs
- TextTreeInsertElementUndoUnit.cs
- CompilationUtil.cs
- ComplexLine.cs
- FixedStringLookup.cs
- SequentialOutput.cs
- CompiledAction.cs
- Deflater.cs
- BamlReader.cs
- AvTrace.cs
- Panel.cs
- VirtualDirectoryMapping.cs
- XhtmlBasicLiteralTextAdapter.cs
- InvokeWebService.cs
- FeatureSupport.cs
- MSAANativeProvider.cs
- PowerStatus.cs
- OrderByLifter.cs
- Decoder.cs
- FormClosedEvent.cs
- PrintDocument.cs
- NavigationPropertySingletonExpression.cs
- StaticExtension.cs
- Html32TextWriter.cs
- CustomTypeDescriptor.cs
- Bidi.cs
- ComponentRenameEvent.cs
- MailAddress.cs
- PortCache.cs
- FtpCachePolicyElement.cs
- BlurEffect.cs
- PartialArray.cs
- _Rfc2616CacheValidators.cs
- TimeSpanStorage.cs
- SecurityState.cs
- DataBindingList.cs
- CreateUserWizardStep.cs
- AnchoredBlock.cs
- invalidudtexception.cs
- DeriveBytes.cs
- AutoGeneratedField.cs
- SqlUtils.cs
- ChannelBinding.cs
- COM2PictureConverter.cs
- DataGridTextBoxColumn.cs
- QilVisitor.cs
- TraversalRequest.cs
- FileIOPermission.cs
- StringSorter.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- ToolStripGrip.cs
- IndicShape.cs