Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Security / Policy / GAC.cs / 1305376 / GAC.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //[....] // // // GacInstalled is an IIdentity representing whether or not an assembly is installed in the Gac // namespace System.Security.Policy { using System.Runtime.Remoting; using System; using System.Security; using System.Security.Util; using System.IO; using System.Collections; using GacIdentityPermission = System.Security.Permissions.GacIdentityPermission; using System.Runtime.CompilerServices; [Serializable] [System.Runtime.InteropServices.ComVisible(true)] public sealed class GacInstalled : EvidenceBase, IIdentityPermissionFactory { public GacInstalled() { } public IPermission CreateIdentityPermission( Evidence evidence ) { return new GacIdentityPermission(); } public override bool Equals(Object o) { return o is GacInstalled; } public override int GetHashCode() { return 0; } public override EvidenceBase Clone() { return new GacInstalled(); } public Object Copy() { return Clone(); } internal SecurityElement ToXml() { SecurityElement elem = new SecurityElement( this.GetType().FullName ); elem.AddAttribute( "version", "1" ); return elem; } public override String ToString() { return ToXml().ToString(); } } } // 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
- CollectionConverter.cs
- ConstraintStruct.cs
- FileLogRecordEnumerator.cs
- XmlSchemaComplexContentExtension.cs
- XmlSortKeyAccumulator.cs
- LineSegment.cs
- TemplateParser.cs
- PartialClassGenerationTaskInternal.cs
- Journaling.cs
- FontDialog.cs
- BinarySecretSecurityToken.cs
- RichTextBoxContextMenu.cs
- EntityStoreSchemaGenerator.cs
- pingexception.cs
- ProcessModelInfo.cs
- SafeHandle.cs
- _LoggingObject.cs
- BitmapPalette.cs
- WebBrowserPermission.cs
- ReversePositionQuery.cs
- DataGridSortCommandEventArgs.cs
- ImpersonateTokenRef.cs
- SqlBooleanMismatchVisitor.cs
- DateTimeValueSerializerContext.cs
- StorageBasedPackageProperties.cs
- WCFServiceClientProxyGenerator.cs
- ReflectionPermission.cs
- Lease.cs
- Renderer.cs
- LinqExpressionNormalizer.cs
- ConfigXmlCDataSection.cs
- FlagsAttribute.cs
- Point3D.cs
- DeviceSpecificChoice.cs
- cryptoapiTransform.cs
- FacetEnabledSchemaElement.cs
- StrongNamePublicKeyBlob.cs
- DataGridAddNewRow.cs
- MsmqIntegrationChannelListener.cs
- PageContent.cs
- TwoPhaseCommit.cs
- Panel.cs
- CopyAttributesAction.cs
- SafeSystemMetrics.cs
- SQLDoubleStorage.cs
- NamedServiceModelExtensionCollectionElement.cs
- ControlBuilderAttribute.cs
- SqlResolver.cs
- TagMapCollection.cs
- PrimitiveType.cs
- VisualStyleInformation.cs
- InputLangChangeEvent.cs
- WebBrowserNavigatedEventHandler.cs
- COSERVERINFO.cs
- mansign.cs
- AlternateView.cs
- ResolveMatchesCD1.cs
- JoinCqlBlock.cs
- CollectionBuilder.cs
- DeflateStream.cs
- BufferedStream2.cs
- Material.cs
- SafeNativeMethodsOther.cs
- ResourceContainer.cs
- TemplateField.cs
- ProgressBar.cs
- NativeCppClassAttribute.cs
- XmlReflectionImporter.cs
- QuaternionIndependentAnimationStorage.cs
- XmlSignatureProperties.cs
- RtfToXamlReader.cs
- AccessibleObject.cs
- SqlGenerator.cs
- KeyPressEvent.cs
- WebPartConnectVerb.cs
- XmlQueryOutput.cs
- StyleModeStack.cs
- WsrmMessageInfo.cs
- DeleteBookmarkScope.cs
- RangeExpression.cs
- SiteMapNodeCollection.cs
- BasicKeyConstraint.cs
- ComponentGlyph.cs
- InitiatorServiceModelSecurityTokenRequirement.cs
- BlurEffect.cs
- DbgUtil.cs
- MenuItemStyle.cs
- GridViewAutomationPeer.cs
- MeshGeometry3D.cs
- RawKeyboardInputReport.cs
- FileBasedResourceGroveler.cs
- DateTimeConstantAttribute.cs
- DrawToolTipEventArgs.cs
- DateRangeEvent.cs
- DesignerActionService.cs
- XmlAttributeCollection.cs
- Label.cs
- StatusStrip.cs
- VisualBrush.cs
- EarlyBoundInfo.cs