Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- KeysConverter.cs
- BaseValidator.cs
- UnsafeNativeMethodsCLR.cs
- Int32Converter.cs
- InputLangChangeRequestEvent.cs
- ObjectSecurity.cs
- Vector3DAnimationUsingKeyFrames.cs
- SqlParameter.cs
- ChangeBlockUndoRecord.cs
- StrokeCollection.cs
- RuntimeWrappedException.cs
- ClientSponsor.cs
- ObjectDataSourceSelectingEventArgs.cs
- WasEndpointConfigContainer.cs
- MergeFilterQuery.cs
- QilTargetType.cs
- HttpCacheVaryByContentEncodings.cs
- SourceChangedEventArgs.cs
- CapabilitiesState.cs
- RowToParametersTransformer.cs
- DynamicQueryableWrapper.cs
- UpdateRecord.cs
- XmlSchemaSubstitutionGroup.cs
- DebugHandleTracker.cs
- SiteOfOriginContainer.cs
- WebControlParameterProxy.cs
- PolyLineSegment.cs
- HierarchicalDataBoundControl.cs
- HtmlInputFile.cs
- TemplateControl.cs
- ProfileProvider.cs
- FrameworkContentElementAutomationPeer.cs
- SQLSingle.cs
- CustomValidator.cs
- SqlStatistics.cs
- DataTableReaderListener.cs
- MsmqIntegrationSecurityElement.cs
- SqlConnection.cs
- GB18030Encoding.cs
- SecurityTokenParametersEnumerable.cs
- PartialToken.cs
- TemplateKey.cs
- ResourceManagerWrapper.cs
- MappingSource.cs
- PolicyLevel.cs
- XmlEncApr2001.cs
- ApplicationSecurityInfo.cs
- ConnectionsZone.cs
- VisualStyleInformation.cs
- PerformanceCounterPermission.cs
- FormsIdentity.cs
- MachineKeySection.cs
- FunctionParameter.cs
- DbMetaDataFactory.cs
- ClockController.cs
- ConfigurationProperty.cs
- FlowLayoutPanel.cs
- EventProvider.cs
- mediaeventargs.cs
- MessageLogger.cs
- HtmlTable.cs
- AddInProcess.cs
- AsnEncodedData.cs
- SafeNativeMethodsOther.cs
- FrameworkElementFactoryMarkupObject.cs
- ArrayTypeMismatchException.cs
- QilVisitor.cs
- XhtmlBasicFormAdapter.cs
- ComponentChangingEvent.cs
- SystemEvents.cs
- ExcludePathInfo.cs
- CharStorage.cs
- LoginDesigner.cs
- DiscoveryDocumentReference.cs
- ChineseLunisolarCalendar.cs
- ApplicationServicesHostFactory.cs
- XamlPoint3DCollectionSerializer.cs
- DataGridViewCellFormattingEventArgs.cs
- KeyTimeConverter.cs
- ParentQuery.cs
- PriorityChain.cs
- ModelVisual3D.cs
- ListenerAdaptersInstallComponent.cs
- DynamicMethod.cs
- ToolStripControlHost.cs
- ToolboxSnapDragDropEventArgs.cs
- TableSectionStyle.cs
- FormViewPagerRow.cs
- EndpointIdentityExtension.cs
- DelegatingTypeDescriptionProvider.cs
- WebUtil.cs
- mda.cs
- AudioFileOut.cs
- Attributes.cs
- PolicyLevel.cs
- JsonDataContract.cs
- ButtonBaseDesigner.cs
- Internal.cs
- TdsParserSafeHandles.cs
- AdornerDecorator.cs