Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // 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); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FtpWebResponse.cs
- sqlser.cs
- CustomAttribute.cs
- DataTableNewRowEvent.cs
- EntityTemplateFactory.cs
- XmlElementAttribute.cs
- ObjectDataSourceDisposingEventArgs.cs
- VirtualizingStackPanel.cs
- ToolStripSystemRenderer.cs
- XPathNavigatorReader.cs
- Main.cs
- ListViewGroupConverter.cs
- PrintPreviewDialog.cs
- DropTarget.cs
- TextDecoration.cs
- PhoneCall.cs
- ClientSettingsProvider.cs
- XhtmlBasicValidatorAdapter.cs
- FileDialogCustomPlacesCollection.cs
- TransactedBatchingBehavior.cs
- DbCommandTree.cs
- DataGridViewSelectedRowCollection.cs
- ADMembershipProvider.cs
- Ref.cs
- TextMarkerSource.cs
- log.cs
- CompilerScopeManager.cs
- UserNameServiceElement.cs
- XmlReaderSettings.cs
- MediaTimeline.cs
- EventItfInfo.cs
- Deserializer.cs
- SmtpException.cs
- SystemNetHelpers.cs
- XPathBinder.cs
- PropertyCollection.cs
- ListControl.cs
- FrameworkPropertyMetadata.cs
- ExcCanonicalXml.cs
- WebPartCatalogCloseVerb.cs
- ToolStripPanelRow.cs
- TreeNodeStyle.cs
- XPathAncestorQuery.cs
- CultureInfo.cs
- RetrieveVirtualItemEventArgs.cs
- PropertyItemInternal.cs
- WpfWebRequestHelper.cs
- baseaxisquery.cs
- BaseHashHelper.cs
- Variable.cs
- ECDsaCng.cs
- ProfileService.cs
- FormCollection.cs
- XsdBuildProvider.cs
- EpmContentSerializerBase.cs
- XmlDataSource.cs
- ExplicitDiscriminatorMap.cs
- MetadataWorkspace.cs
- UseAttributeSetsAction.cs
- SQLBinaryStorage.cs
- HitTestDrawingContextWalker.cs
- VScrollBar.cs
- FrameDimension.cs
- SmtpNtlmAuthenticationModule.cs
- ReaderWriterLockWrapper.cs
- PersonalizablePropertyEntry.cs
- ScopedKnownTypes.cs
- LifetimeMonitor.cs
- DrawingCollection.cs
- Interlocked.cs
- SiteOfOriginPart.cs
- MaxValueConverter.cs
- UserNameSecurityTokenProvider.cs
- NumericUpDownAcceleration.cs
- TabOrder.cs
- TimeSpanStorage.cs
- WebDescriptionAttribute.cs
- FlagsAttribute.cs
- ManagementScope.cs
- ColumnMapCopier.cs
- CodeConstructor.cs
- DataRecordObjectView.cs
- StaticTextPointer.cs
- DataGridLength.cs
- ConnectionPointCookie.cs
- FontUnitConverter.cs
- StructuredType.cs
- EventMappingSettingsCollection.cs
- NetNamedPipeSecurityElement.cs
- TextFormatterImp.cs
- PagesSection.cs
- ExpressionBindingCollection.cs
- DataGridColumnDropSeparator.cs
- XPathConvert.cs
- PagerSettings.cs
- WebPartDisplayModeCancelEventArgs.cs
- SafeTimerHandle.cs
- MultiPageTextView.cs
- CompilerError.cs
- BaseCodeDomTreeGenerator.cs