Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / Configuration / COAUTHINFO.cs / 1 / COAUTHINFO.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Configuration { using System.Collections; using System.Configuration; using System.Configuration.Internal; using System.Web; using System.Web.Util; using System.Security; using System.IO; using System.Web.Hosting; using System.Runtime.InteropServices; using System.Reflection; using System.Collections.Specialized; using System.Xml; using System.Security.Principal; using System.Threading; using System.Globalization; [StructLayout(LayoutKind.Sequential, Pack = 4, CharSet = CharSet.Unicode)] internal class COAUTHINFO : IDisposable { internal COAUTHINFO(RpcAuthent authent, RpcAuthor author, string serverprinc, RpcLevel level, RpcImpers impers, IntPtr ciptr) { authnsvc = authent; authzsvc = author; serverprincname = serverprinc; authnlevel = level; impersonationlevel = impers; authidentitydata = ciptr; } internal RpcAuthent authnsvc; internal RpcAuthor authzsvc; [MarshalAs(UnmanagedType.LPWStr)] internal string serverprincname; internal RpcLevel authnlevel; internal RpcImpers impersonationlevel; internal IntPtr authidentitydata; // COAUTHIDENTITY* internal int capabilities = 0; // EOAC_NONE void IDisposable.Dispose() { authidentitydata = IntPtr.Zero; GC.SuppressFinalize(this); } ~COAUTHINFO() { } } [StructLayout(LayoutKind.Sequential, Pack = 4, CharSet = CharSet.Unicode)] internal class COAUTHINFO_X64 : IDisposable { internal COAUTHINFO_X64(RpcAuthent authent, RpcAuthor author, string serverprinc, RpcLevel level, RpcImpers impers, IntPtr ciptr) { authnsvc = authent; authzsvc = author; serverprincname = serverprinc; authnlevel = level; impersonationlevel = impers; authidentitydata = ciptr; } internal RpcAuthent authnsvc; internal RpcAuthor authzsvc; [MarshalAs(UnmanagedType.LPWStr)] internal string serverprincname; internal RpcLevel authnlevel; internal RpcImpers impersonationlevel; internal IntPtr authidentitydata; // COAUTHIDENTITY* internal int capabilities = 0; // EOAC_NONE #pragma warning disable 0649 internal int padding; #pragma warning restore 0649 void IDisposable.Dispose() { authidentitydata = IntPtr.Zero; GC.SuppressFinalize(this); } ~COAUTHINFO_X64() { } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EventLogWatcher.cs
- WebBrowserSiteBase.cs
- MenuScrollingVisibilityConverter.cs
- DesignerActionPanel.cs
- PropertyValueChangedEvent.cs
- SpecularMaterial.cs
- BaseDataListDesigner.cs
- WebResourceAttribute.cs
- WeakReadOnlyCollection.cs
- IteratorDescriptor.cs
- CodeSubDirectory.cs
- CacheHelper.cs
- GeometryValueSerializer.cs
- FileDialogPermission.cs
- SizeF.cs
- Hex.cs
- ExtenderProvidedPropertyAttribute.cs
- SelfIssuedAuthProofToken.cs
- DataFormat.cs
- Message.cs
- CompilerCollection.cs
- TTSEngineProxy.cs
- PermissionAttributes.cs
- TrustManager.cs
- sqlpipe.cs
- SecurityPermission.cs
- WebEventCodes.cs
- dtdvalidator.cs
- DataGridRow.cs
- PropertyFilter.cs
- LockedAssemblyCache.cs
- CompressStream.cs
- DataGridViewControlCollection.cs
- DescendantBaseQuery.cs
- DelimitedListTraceListener.cs
- RemotingConfiguration.cs
- HttpWebRequest.cs
- FixedSOMTable.cs
- Constants.cs
- XsltQilFactory.cs
- PagerSettings.cs
- QilReplaceVisitor.cs
- ErrorWebPart.cs
- Timeline.cs
- AlphabetConverter.cs
- Ray3DHitTestResult.cs
- GridViewSelectEventArgs.cs
- FieldBuilder.cs
- OperationAbortedException.cs
- path.cs
- InfoCardSymmetricCrypto.cs
- HTMLTagNameToTypeMapper.cs
- PartManifestEntry.cs
- PixelFormatConverter.cs
- EntityContainerEmitter.cs
- FileUpload.cs
- StateMachine.cs
- ProjectedSlot.cs
- altserialization.cs
- NotificationContext.cs
- AssemblyName.cs
- XmlChildNodes.cs
- RenderContext.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- SamlAction.cs
- Binding.cs
- GridViewRowPresenterBase.cs
- DesignerHelpers.cs
- TraversalRequest.cs
- MSAAEventDispatcher.cs
- PolygonHotSpot.cs
- RequestSecurityToken.cs
- DynamicDocumentPaginator.cs
- BookmarkTable.cs
- SQLStringStorage.cs
- IOThreadScheduler.cs
- ToolBarButtonClickEvent.cs
- ProviderConnectionPoint.cs
- WindowsListViewSubItem.cs
- TypeViewSchema.cs
- User.cs
- RelationshipEndCollection.cs
- WS2007HttpBindingCollectionElement.cs
- BamlLocalizableResource.cs
- DrawingBrush.cs
- NumberSubstitution.cs
- WebSysDescriptionAttribute.cs
- Message.cs
- HybridDictionary.cs
- ConfigurationProperty.cs
- KeyTimeConverter.cs
- TextSpanModifier.cs
- CaseCqlBlock.cs
- DbConnectionPool.cs
- SequentialUshortCollection.cs
- GetPageNumberCompletedEventArgs.cs
- CodeStatementCollection.cs
- RegisteredExpandoAttribute.cs
- XmlSchemaParticle.cs
- PointCollectionValueSerializer.cs