Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / clr / src / BCL / System / Security / SecurityState.cs / 1 / SecurityState.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==++== using System; using System.Security; using System.Security.Permissions; namespace System.Security { [PermissionSet(SecurityAction.LinkDemand, Unrestricted = true)] [PermissionSet(SecurityAction.InheritanceDemand, Unrestricted = true)] public abstract class SecurityState { protected SecurityState() { } public bool IsStateAvailable() { AppDomainManager domainManager = AppDomainManager.CurrentAppDomainManager; return domainManager != null ? domainManager.CheckSecuritySettings(this) : false; } // Override this function and throw the appropriate exception if the security state // should not be available in the current context. public abstract void EnsureState(); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RuleProcessor.cs
- TextWriterTraceListener.cs
- TargetInvocationException.cs
- LayoutTableCell.cs
- JpegBitmapEncoder.cs
- ScriptControlDescriptor.cs
- AttributeUsageAttribute.cs
- MetabaseReader.cs
- TrackingProfileCache.cs
- Win32MouseDevice.cs
- ChildDocumentBlock.cs
- ProfileService.cs
- DesignOnlyAttribute.cs
- SessionState.cs
- MatrixAnimationUsingKeyFrames.cs
- DataGridViewCellStateChangedEventArgs.cs
- ClientRuntimeConfig.cs
- ExclusiveCanonicalizationTransform.cs
- CompletedAsyncResult.cs
- RegexStringValidatorAttribute.cs
- DataBoundControlHelper.cs
- EventRouteFactory.cs
- UrlParameterWriter.cs
- EdgeModeValidation.cs
- RoleGroupCollection.cs
- RuntimeHandles.cs
- SqlClientMetaDataCollectionNames.cs
- DbProviderFactory.cs
- WebPartCancelEventArgs.cs
- WriterOutput.cs
- httpserverutility.cs
- XmlLoader.cs
- WindowsIdentity.cs
- uribuilder.cs
- JapaneseCalendar.cs
- TemplateControlParser.cs
- BitmapEffectInput.cs
- Wizard.cs
- Certificate.cs
- RIPEMD160.cs
- TreeView.cs
- ScrollContentPresenter.cs
- ModulesEntry.cs
- DelegatingConfigHost.cs
- DataObjectEventArgs.cs
- rsa.cs
- XsltException.cs
- SoapAttributeAttribute.cs
- TraceListeners.cs
- VisualBasicImportReference.cs
- AsyncDataRequest.cs
- FrameworkName.cs
- Avt.cs
- MultiSelector.cs
- XmlCustomFormatter.cs
- SystemKeyConverter.cs
- StrokeNodeOperations2.cs
- ValueType.cs
- ZoneButton.cs
- InvalidProgramException.cs
- TypeElementCollection.cs
- WebPartConnectionsEventArgs.cs
- ListViewItemEventArgs.cs
- util.cs
- embossbitmapeffect.cs
- LateBoundBitmapDecoder.cs
- BrowserInteropHelper.cs
- SQLByte.cs
- BuildProvider.cs
- Hex.cs
- NativeRecognizer.cs
- HttpCookieCollection.cs
- BypassElement.cs
- GlyphingCache.cs
- TemplateControl.cs
- TextElement.cs
- GridViewCommandEventArgs.cs
- DataContractSerializerSection.cs
- Attributes.cs
- BindingContext.cs
- ToolStripDropDownMenu.cs
- PanelDesigner.cs
- SolidBrush.cs
- EdmEntityTypeAttribute.cs
- Merger.cs
- SecurityRuntime.cs
- DrawingContextWalker.cs
- SerializationObjectManager.cs
- baseaxisquery.cs
- Convert.cs
- WinEventWrap.cs
- Substitution.cs
- WrapPanel.cs
- RawStylusInput.cs
- SQLByte.cs
- DiscoveryEndpoint.cs
- MasterPageBuildProvider.cs
- HwndSource.cs
- TabletDeviceInfo.cs
- BatchParser.cs