Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Security / Cryptography / AsymmetricAlgorithm.cs / 1305376 / AsymmetricAlgorithm.cs
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
// [....]
//
//
// AsymmetricAlgorithm.cs
//
namespace System.Security.Cryptography {
[System.Runtime.InteropServices.ComVisible(true)]
public abstract class AsymmetricAlgorithm : IDisposable {
protected int KeySizeValue;
protected KeySizes[] LegalKeySizesValue;
//
// public constructors
//
protected AsymmetricAlgorithm() {}
// AsymmetricAlgorithm implements IDisposable
public void Dispose() {
Clear();
}
public void Clear() {
Dispose(true);
GC.SuppressFinalize(this);
}
protected virtual void Dispose(bool disposing)
{
return;
}
//
// public properties
//
public virtual int KeySize {
get { return KeySizeValue; }
set {
int i;
int j;
for (i=0; i[....]
//
//
// AsymmetricAlgorithm.cs
//
namespace System.Security.Cryptography {
[System.Runtime.InteropServices.ComVisible(true)]
public abstract class AsymmetricAlgorithm : IDisposable {
protected int KeySizeValue;
protected KeySizes[] LegalKeySizesValue;
//
// public constructors
//
protected AsymmetricAlgorithm() {}
// AsymmetricAlgorithm implements IDisposable
public void Dispose() {
Clear();
}
public void Clear() {
Dispose(true);
GC.SuppressFinalize(this);
}
protected virtual void Dispose(bool disposing)
{
return;
}
//
// public properties
//
public virtual int KeySize {
get { return KeySizeValue; }
set {
int i;
int j;
for (i=0; i
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CompiledRegexRunnerFactory.cs
- ToolTip.cs
- OneOfElement.cs
- SectionXmlInfo.cs
- FontWeights.cs
- FormatterServices.cs
- FreezableDefaultValueFactory.cs
- ParamArrayAttribute.cs
- WaitForChangedResult.cs
- DBBindings.cs
- AssemblyName.cs
- DocumentEventArgs.cs
- ClientUtils.cs
- TextElement.cs
- TargetConverter.cs
- DocumentDesigner.cs
- XmlObjectSerializerContext.cs
- StructuredTypeEmitter.cs
- Deserializer.cs
- ExtentKey.cs
- ReadContentAsBinaryHelper.cs
- CustomGrammar.cs
- FastPropertyAccessor.cs
- IconHelper.cs
- ContentTextAutomationPeer.cs
- StylusSystemGestureEventArgs.cs
- Command.cs
- TableProviderWrapper.cs
- DataViewManagerListItemTypeDescriptor.cs
- ColumnWidthChangingEvent.cs
- CryptoSession.cs
- SelectionHighlightInfo.cs
- StylusPointPropertyInfoDefaults.cs
- PageAdapter.cs
- CodeCommentStatementCollection.cs
- TextLineResult.cs
- XmlSchemaSet.cs
- QueryTaskGroupState.cs
- ClientFormsIdentity.cs
- SBCSCodePageEncoding.cs
- Rules.cs
- XmlSerializableServices.cs
- ContainerParagraph.cs
- SafeNativeMethodsOther.cs
- MetadataArtifactLoaderComposite.cs
- UriTemplateClientFormatter.cs
- TrackingMemoryStream.cs
- Ops.cs
- HttpConfigurationContext.cs
- SmiEventSink_Default.cs
- StrongNameIdentityPermission.cs
- WpfGeneratedKnownProperties.cs
- MailWebEventProvider.cs
- BamlRecords.cs
- WriteFileContext.cs
- ColumnPropertiesGroup.cs
- LiteralSubsegment.cs
- HtmlContainerControl.cs
- StreamGeometry.cs
- DataServiceResponse.cs
- ProxyDataContractResolver.cs
- RegexCharClass.cs
- DependencyProperty.cs
- GestureRecognizer.cs
- InlinedAggregationOperator.cs
- BCryptHashAlgorithm.cs
- XmlTextReaderImplHelpers.cs
- DataGridViewBindingCompleteEventArgs.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- Duration.cs
- NativeMethods.cs
- DataListItemEventArgs.cs
- ApplicationDirectory.cs
- Listbox.cs
- BezierSegment.cs
- Transaction.cs
- EventLogRecord.cs
- AsyncSerializedWorker.cs
- Math.cs
- ParagraphVisual.cs
- TypeContext.cs
- TdsParserSafeHandles.cs
- Image.cs
- PointF.cs
- Mappings.cs
- DbUpdateCommandTree.cs
- NotSupportedException.cs
- ExtentKey.cs
- BaseUriHelper.cs
- TempFiles.cs
- ModelTypeConverter.cs
- TextSelectionHelper.cs
- TableLayoutStyle.cs
- InfoCardProofToken.cs
- SerialPort.cs
- XamlStyleSerializer.cs
- GridViewColumnHeader.cs
- TaskbarItemInfo.cs
- WebServiceHandler.cs
- XamlRtfConverter.cs